mirror of
https://github.com/ansible/awx.git
synced 2026-03-27 13:55:04 -02:30
Extra var parsing
added a check for an empty string
This commit is contained in:
@@ -103,7 +103,9 @@ angular.module('VariablesHelper', ['Utilities'])
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
|
if(variables=== ""){
|
||||||
|
variables = '---';
|
||||||
|
}
|
||||||
json_data = jsyaml.load(variables);
|
json_data = jsyaml.load(variables);
|
||||||
if(json_data!==null){
|
if(json_data!==null){
|
||||||
$.each( json_data, function( key, value ) {
|
$.each( json_data, function( key, value ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user