mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Bug #544: Fix image addition and vnet addition in the wizards with the newly created selects.
This commit is contained in:
parent
90d7e5c77a
commit
12d1566bff
@ -480,7 +480,7 @@ function updateImageSelect(){
|
||||
|
||||
//update static selectors:
|
||||
//in the VM section
|
||||
$('div.vm_section#disks select#IMAGE').html(images_select);
|
||||
$('div.vm_section#disks select#IMAGE_ID').html(images_select);
|
||||
}
|
||||
|
||||
// Callback to update an element in the dataTable
|
||||
|
@ -174,7 +174,7 @@ var create_vm_tmpl =
|
||||
<div class="clear"></div>\
|
||||
<div class="vm_param kvm xen add_image">\
|
||||
<label for="IMAGE">Image:</label>\
|
||||
<select type="text" id="IMAGE" name="image">\
|
||||
<select type="text" id="IMAGE_ID" name="image_id">\
|
||||
</select>\
|
||||
<div class="tip">Name of the image to use</div>\
|
||||
</div>\
|
||||
@ -279,7 +279,7 @@ var create_vm_tmpl =
|
||||
<div class="clear"></div>\
|
||||
<div class="vm_param kvm xen network">\
|
||||
<label for="NETWORK">Network:</label>\
|
||||
<select type="text" id="NETWORK" name="network">\
|
||||
<select type="text" id="NETWORK_ID" name="network_id">\
|
||||
</select>\
|
||||
<div class="tip">Name of the network to attach this device</div>\
|
||||
</div>\
|
||||
|
@ -312,7 +312,7 @@ function updateNetworkSelect(){
|
||||
|
||||
//update static selectors:
|
||||
//in the VM creation dialog
|
||||
$('div.vm_section#networks select#NETWORK').html(vnetworks_select);
|
||||
$('div.vm_section#networks select#NETWORK_ID').html(vnetworks_select);
|
||||
}
|
||||
|
||||
//Callback to update a vnet element after an action on it
|
||||
|
Loading…
x
Reference in New Issue
Block a user