mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-19 06:50:07 +03:00
Merge pull request #150 from juanmont/master
B #4767 removed input persistent image when you select CDROM
This commit is contained in:
commit
c24dcad2f1
@ -252,6 +252,14 @@ define(function(require) {
|
||||
}
|
||||
});
|
||||
|
||||
$("#img_type", context).change(function() {
|
||||
var value = $(this).val();
|
||||
if(value == "CDROM")
|
||||
$('#img_persistent', context).closest('.row').hide();
|
||||
else
|
||||
$('#img_persistent', context).closest('.row').show();
|
||||
});
|
||||
|
||||
$('#path_image', context).click();
|
||||
|
||||
CustomTagsTable.setup(context);
|
||||
|
Loading…
x
Reference in New Issue
Block a user