Skip to content

Commit

Permalink
Correctly revert default view after mass image deletion
Browse files Browse the repository at this point in the history
Nazar65 committed Aug 19, 2020

Verified

This commit was signed with the committer’s verified signature.
svc-excavator-bot Excavator Bot
1 parent 18da36b commit 4e11232
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -141,9 +141,7 @@ define([
if (response.status === 'canceled') {
return;
}
this.imageModel().selected({});
this.massActionMode(false);
this.switchMode();
$(window).trigger('terminateMassAction.MediaGallery');
}.bind(this));
}
}.bind(this));

0 comments on commit 4e11232

Please sign in to comment.