mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
List view, multiSelect: Fix issue where $listView isn't always referenced
This commit is contained in:
parent
8cf5192a6f
commit
04b1e31682
@ -88,7 +88,7 @@
|
||||
|
||||
// Make sure the master checkbox is unselected
|
||||
if (multiSelect) {
|
||||
$listView.find('input.multiSelectMasterCheckbox').attr('checked', false);
|
||||
$instanceRow.closest('.list-view').find('input.multiSelectMasterCheckbox').attr('checked', false);
|
||||
}
|
||||
|
||||
var externalLinkAction = action.externalLink;
|
||||
@ -1078,7 +1078,7 @@
|
||||
var enabled = checked || (numRowsChecked > 0);
|
||||
toggleMultiSelectActions(enabled);
|
||||
|
||||
$listView.find('input.multiSelectMasterCheckbox').attr('checked', (numRows === numRowsChecked));
|
||||
$td.closest('.list-view').find('input.multiSelectMasterCheckbox').attr('checked', (numRows === numRowsChecked));
|
||||
});
|
||||
|
||||
$td.append(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user