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:
parent
e1499784f0
commit
2af24b2ebc
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user