1
0
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:
Hector Sanjuan 2011-04-01 01:13:47 +02:00 committed by Jaime Melis
parent fcc6595d67
commit 77e5f4f760

View File

@ -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");
}
});