We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66a16a1 commit a589a36Copy full SHA for a589a36
1 file changed
ui/scripts/ui/widgets/listView.js
@@ -734,6 +734,8 @@
734
var makeActionIcons = function($td, actions, options) {
735
options = options ? options : {};
736
var allowedActions = options.allowedActions;
737
+ var $tr = $td.closest('tr');
738
+ var data = $tr && $tr.data('json-obj') ? $tr.data('json-obj') : null;
739
740
$.each(actions, function(actionName, action) {
741
if (actionName == 'add' || action.isHeader)
@@ -766,7 +768,9 @@
766
768
.append(
767
769
$('<input>').attr({
770
type: 'checkbox',
- name: actionName
771
+ name: actionName,
772
+ checked: data && data._isSelected ?
773
+ 'checked' : false
774
})
775
)
776
.attr({
0 commit comments