1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-04-02 10:50:07 +03:00

bug #2333: Use the size provided in the template when updating a volatile disk

This commit is contained in:
Daniel Molina 2013-11-04 11:57:00 +01:00
parent e1499784f0
commit 2af24b2ebc

View File

@ -4383,6 +4383,10 @@ function fillTemplatePopUp(request, response){
}
else {
$('input#'+str_disk_tab_id+'radioVolatile', disk_section).click();
if (disk.SIZE) {
$('#SIZE_TMP', disk_section).val(Math.round( disk.SIZE / 1024 ))
}
}
autoFillInputs(disk, $('div#disk_type.vm_param', disk_section));