1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-19 06:50:07 +03:00

B #4767 removed input persistent image when you select CDROM

This commit is contained in:
juanmont 2016-11-15 16:21:38 +01:00
parent 2565f29b0b
commit 375d146406

View File

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