Skip to content

Commit

Permalink
Fix quick access dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaRadzhabova committed Oct 22, 2024
1 parent ce5ab7a commit 20211e8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions apps/common/main/lib/view/CustomizeQuickAccessDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ define([], function () { 'use strict';
},

onBtnClick: function(event) {
if (event.currentTarget.attributes['result'].value == 'ok') {
if (event.currentTarget.attributes['result'].value === 'ok') {
Common.NotificationCenter.trigger('quickaccess:changed', {
save: this.chSave.getValue() == 'checked',
print: this.chPrint.getValue() == 'checked',
quickPrint: this.chQuickPrint ? this.chQuickPrint.getValue() == 'checked' : undefined,
undo: this.chUndo.getValue() == 'checked',
redo: this.chRedo.getValue() == 'checked'
save: this.chSave ? this.chSave.getValue() === 'checked' : undefined,
print: this.chPrint ? this.chPrint.getValue() === 'checked' : undefined,
quickPrint: this.chQuickPrint ? this.chQuickPrint.getValue() === 'checked' : undefined,
undo: this.chUndo.getValue() === 'checked',
redo: this.chRedo.getValue() === 'checked'
});
}

Expand Down

0 comments on commit 20211e8

Please sign in to comment.