diff --git a/services/web/public/coffee/ide/review-panel/controllers/ReviewPanelController.coffee b/services/web/public/coffee/ide/review-panel/controllers/ReviewPanelController.coffee index 9352d8f4c8..2cb12eb983 100644 --- a/services/web/public/coffee/ide/review-panel/controllers/ReviewPanelController.coffee +++ b/services/web/public/coffee/ide/review-panel/controllers/ReviewPanelController.coffee @@ -374,8 +374,9 @@ define [ bulkAccept = () -> _doAcceptChanges $scope.reviewPanel.selectedEntryIds.slice() - $scope.reviewPanel.selectedEntryIds = [] - $scope.reviewPanel.nVisibleSelectedChanges = 0 + $timeout () -> + $scope.reviewPanel.selectedEntryIds = [] + $scope.reviewPanel.nVisibleSelectedChanges = 0 event_tracking.sendMB "rp-bulk-accept", { view: if $scope.ui.reviewPanelOpen then $scope.reviewPanel.subView else 'mini', nEntries: $scope.reviewPanel.nVisibleSelectedChanges @@ -383,8 +384,9 @@ define [ bulkReject = () -> _doRejectChanges $scope.reviewPanel.selectedEntryIds.slice() - $scope.reviewPanel.selectedEntryIds = [] - $scope.reviewPanel.nVisibleSelectedChanges = 0 + $timeout () -> + $scope.reviewPanel.selectedEntryIds = [] + $scope.reviewPanel.nVisibleSelectedChanges = 0 event_tracking.sendMB "rp-bulk-reject", { view: if $scope.ui.reviewPanelOpen then $scope.reviewPanel.subView else 'mini', nEntries: $scope.reviewPanel.nVisibleSelectedChanges