[DE] Bug in event registering.
This commit is contained in:
parent
a9cc711261
commit
4be85e3576
|
@ -446,6 +446,7 @@ define([
|
|||
function _click_turnpreview(btn, e) {
|
||||
if (this.appConfig.canReview) {
|
||||
Common.NotificationCenter.trigger('reviewchanges:turn', btn.pressed ? 'on' : 'off');
|
||||
Common.NotificationCenter.trigger('edit:complete');
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -479,7 +480,6 @@ define([
|
|||
|
||||
this.btnsTurnReview.forEach(function (button) {
|
||||
button.on('click', _click_turnpreview.bind(me));
|
||||
Common.NotificationCenter.trigger('edit:complete', me);
|
||||
});
|
||||
|
||||
this.btnReviewView.menu.on('item:click', function (menu, item, e) {
|
||||
|
|
Loading…
Reference in a new issue