mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
Bug #3990: Fix INPUT attribute name
This commit is contained in:
1 parent
f642b2b3a9
commit
3065d29ae5
1 file changed
+3
-3
@@ -112,7 +112,7 @@ define(function(require) {
|
||||
}
|
||||
});
|
||||
|
||||
if (!$.isEmptyObject(inputsJSON)) { templateJSON['INPUTS'] = inputsJSON; };
|
||||
if (!$.isEmptyObject(inputsJSON)) { templateJSON['INPUT'] = inputsJSON; };
|
||||
|
||||
return templateJSON;
|
||||
}
|
||||
@@ -133,7 +133,7 @@ define(function(require) {
|
||||
delete templateJSON['GRAPHICS']
|
||||
}
|
||||
|
||||
var inputsJSON = templateJSON['INPUTS'];
|
||||
var inputsJSON = templateJSON['INPUT'];
|
||||
if (inputsJSON) {
|
||||
if (!(inputsJSON instanceof Array)) {
|
||||
inputsJSON = [inputsJSON];
|
||||
@@ -162,7 +162,7 @@ define(function(require) {
|
||||
cell3.innerHTML = "<i class='fa fa-times-circle fa fa-lg remove-tab'></i>";
|
||||
});
|
||||
|
||||
delete templateJSON['INPUTS']
|
||||
delete templateJSON['INPUT']
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user