mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 11:20:39 -03:30
Extra var parsing
added a check for an empty string
This commit is contained in:
parent
0c10581ecd
commit
15f710331b
@ -103,7 +103,9 @@ angular.module('VariablesHelper', ['Utilities'])
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
|
||||
if(variables=== ""){
|
||||
variables = '---';
|
||||
}
|
||||
json_data = jsyaml.load(variables);
|
||||
if(json_data!==null){
|
||||
$.each( json_data, function( key, value ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user