mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Fixes bug #555: Re-selecting disk none does not reset Swap/FS specific fields.
This commit is contained in:
parent
fcc6595d67
commit
77e5f4f760
@ -1389,6 +1389,7 @@ function setupCreateVMDialog(){
|
||||
case "floppy":
|
||||
case "disk":
|
||||
case "cdrom":
|
||||
default:
|
||||
//size hidden
|
||||
$('#SIZE',section_disks).parent().hide();
|
||||
$('#SIZE',section_disks).parent().attr("disabled","disabled");
|
||||
@ -1400,7 +1401,6 @@ function setupCreateVMDialog(){
|
||||
//format optional
|
||||
$('#FORMAT',section_disks).parent().hide();
|
||||
$('#FORMAT',section_disks).parent().attr("disabled","disabled");
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user