Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaRadzhabova committed Nov 1, 2023
1 parent f3e50dd commit 236680e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/spreadsheeteditor/main/app/view/FormatRulesEditDlg.js
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,6 @@ define([ 'text!spreadsheeteditor/main/app/template/FormatRulesEditDlg.template',
]
})
});
Common.UI.FocusManager.add(this, this.btnBorders);
this.btnBorders.menu.on('item:click', _.bind(this.onBordersMenu, this));
this.btnBorders.on('click', _.bind(this.onBorders, this));
this.mnuBorderColorPicker = new Common.UI.ThemeColorPalette({
Expand All @@ -564,7 +563,7 @@ define([ 'text!spreadsheeteditor/main/app/template/FormatRulesEditDlg.template',
}, this));

this.mnuBorderWidth.on('item:toggle', _.bind(this.onBordersWidth, this));
// Common.UI.FocusManager.add(this, this.btnBorders);
Common.UI.FocusManager.add(this, this.btnBorders);

this.ascFormatOptions = {
General : 'General',
Expand Down

0 comments on commit 236680e

Please sign in to comment.