mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-24 21:34:01 +03:00
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
This commit is contained in:
parent
efb41f8552
commit
5abfe43b4d
@ -54,7 +54,7 @@ define(function(require) {
|
||||
this.wizardTabId = WIZARD_TAB_ID + UniqueId.id();
|
||||
this.icon = 'fa-server';
|
||||
this.title = Locale.tr("Storage");
|
||||
this.classes = "hypervisor"
|
||||
this.classes = "hypervisor";
|
||||
|
||||
if(opts.listener != undefined){
|
||||
this.listener = opts.listener;
|
||||
@ -145,6 +145,13 @@ define(function(require) {
|
||||
if (!$.isEmptyObject(diskJSON)) { disksJSON.push(diskJSON); };
|
||||
});
|
||||
|
||||
$('select#TM_MAD_SYSTEM', context).each(function(index, element){
|
||||
var value = $(element).val();
|
||||
if(value){
|
||||
templateJSON["TM_MAD_SYSTEM"] = value;
|
||||
}
|
||||
});
|
||||
|
||||
if (disksJSON.length > 0) {
|
||||
templateJSON["DISK"] = disksJSON;
|
||||
localStorage.setItem("disksJSON", JSON.stringify(disksJSON));
|
||||
|
Loading…
Reference in New Issue
Block a user