mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 13:15:14 +09:00
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
(cherry picked from commit 5abfe43b4d)
This commit is contained in:
1 parent
5d2d79a609
commit
7733a0b08d
1 file changed
+8
-1
+8
-1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user