1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

bug #2217: If several marketplace appliances are selected, all are marked in blue, but only one checkbox is checked

This commit is contained in:
Daniel Molina 2013-07-30 16:06:17 +02:00
parent 47c19b115b
commit 93cf59e652

View File

@ -280,7 +280,9 @@ function updateMarketInfo(request,app){
function onlyOneCheckboxListener(dataTable) {
$('tbody input.check_item', dataTable).live("change", function(){
var checked = $(this).is(':checked');
$('td', dataTable).removeClass('markrowchecked');
$('input.check_item:checked', dataTable).removeAttr('checked');
$("td", $(this).closest('tr')).addClass('markrowchecked')
$(this).attr('checked', checked);
});
}