1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-14 19:24:10 +03:00

Bug #3990: Fix INPUT attribute name

This commit is contained in:
Carlos Martín 2015-09-21 11:44:49 +02:00
parent f642b2b3a9
commit 3065d29ae5

View File

@ -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']
}
}
});