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:
Brian Federle 2013-04-22 11:26:24 -07:00
parent 35681f3e06
commit 72da1ae969

View File

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