mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Clear selection after bulk actions.
This commit is contained in:
parent
af93fc1869
commit
81a5a5311d
1 changed files with 6 additions and 4 deletions
|
@ -374,6 +374,7 @@ define [
|
||||||
|
|
||||||
bulkAccept = () ->
|
bulkAccept = () ->
|
||||||
_doAcceptChanges $scope.reviewPanel.selectedEntryIds.slice()
|
_doAcceptChanges $scope.reviewPanel.selectedEntryIds.slice()
|
||||||
|
$timeout () ->
|
||||||
$scope.reviewPanel.selectedEntryIds = []
|
$scope.reviewPanel.selectedEntryIds = []
|
||||||
$scope.reviewPanel.nVisibleSelectedChanges = 0
|
$scope.reviewPanel.nVisibleSelectedChanges = 0
|
||||||
event_tracking.sendMB "rp-bulk-accept", {
|
event_tracking.sendMB "rp-bulk-accept", {
|
||||||
|
@ -383,6 +384,7 @@ define [
|
||||||
|
|
||||||
bulkReject = () ->
|
bulkReject = () ->
|
||||||
_doRejectChanges $scope.reviewPanel.selectedEntryIds.slice()
|
_doRejectChanges $scope.reviewPanel.selectedEntryIds.slice()
|
||||||
|
$timeout () ->
|
||||||
$scope.reviewPanel.selectedEntryIds = []
|
$scope.reviewPanel.selectedEntryIds = []
|
||||||
$scope.reviewPanel.nVisibleSelectedChanges = 0
|
$scope.reviewPanel.nVisibleSelectedChanges = 0
|
||||||
event_tracking.sendMB "rp-bulk-reject", {
|
event_tracking.sendMB "rp-bulk-reject", {
|
||||||
|
|
Loading…
Reference in a new issue