mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 22:30:56 +08:00
rename color event
This commit is contained in:
@ -70,7 +70,7 @@ define([
|
||||
'statusbar:setcompact': _.bind(this.onChangeViewMode, this)
|
||||
},
|
||||
'Toolbar': {
|
||||
'statusbar:setcolor': _.bind(this.setWorksheetColor, this),
|
||||
'sheet:setcolor': _.bind(this.setWorksheetColor, this),
|
||||
'sheet:changename': _.bind(function(){
|
||||
this.api.asc_closeCellEditor();
|
||||
this.renameWorksheet();
|
||||
|
||||
@ -3393,7 +3393,7 @@ define([
|
||||
});
|
||||
this.mnuTabColorToolbar.menu.setInnerMenu([{ menu: this.mnuTabColorToolbarPicker, index: 0 }]);
|
||||
this.mnuTabColorToolbarPicker.on('select', _.bind(function(picker, color) {
|
||||
this.fireEvent('statusbar:setcolor', [color]);
|
||||
this.fireEvent('sheet:setcolor', [color]);
|
||||
setTimeout(_.bind(function() {
|
||||
this.btnFormatCell.menu.hide();
|
||||
}, this), 1);
|
||||
|
||||
Reference in New Issue
Block a user