ui: fix cannot assign vms to internal lb in VPC (#3832)

This fixes the issue that cannot assign VMs in Internal LB in VPC.
listView is overwritten due to commit 2e2b670 (#3161)

Fixes: #3827
This commit is contained in:
Wei Zhou 2020-01-31 10:53:11 +01:00 committed by GitHub
parent 76fb811e08
commit 75aa6e3659
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,9 +88,9 @@
// Make sure the master checkbox is unselected
if (multiSelect) {
var $listView = $instanceRow.closest('.list-view');
$listView.find('input.multiSelectMasterCheckbox').prop('checked', false);
toggleMultiSelectActions($listView, false);
var $listView2 = $instanceRow.closest('.list-view');
$listView2.find('input.multiSelectMasterCheckbox').prop('checked', false);
toggleMultiSelectActions($listView2, false);
}
var externalLinkAction = action.externalLink;