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:
parent
47c19b115b
commit
93cf59e652
@ -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);
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user