mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
listView, custom checkbox UI: Fix pre-checked checkbox state
Fixes pre-checked checkboxes not having multi-edit-selected class, preventing item data from being passed to custom widget actions.
This commit is contained in:
parent
35681f3e06
commit
72da1ae969
@ -780,6 +780,10 @@
|
||||
.data('list-view-action-id', actionName)
|
||||
);
|
||||
|
||||
if ($td.find('input[type=checkbox]').is(':checked')) {
|
||||
$tr.addClass('multi-edit-selected');
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user