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

Merge pull request from juanmont/master

B  removed input persistent image when you select CDROM
This commit is contained in:
Tino Vázquez 2016-11-15 16:25:39 +01:00 committed by GitHub
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);