[SSE] Bug 24245
This commit is contained in:
parent
dabb2cea37
commit
33ec257571
|
@ -225,7 +225,7 @@ define([
|
|||
}
|
||||
}
|
||||
}
|
||||
!tab.disabled && Common.NotificationCenter.trigger('edit:complete', this.bar);
|
||||
!tab.disabled && Common.NotificationCenter.trigger('edit:complete', 'tab');
|
||||
}, this),
|
||||
dblclick: $.proxy(function() {
|
||||
this.trigger('tab:dblclick', this, this.tabs.indexOf(tab), tab);
|
||||
|
|
|
@ -3108,8 +3108,8 @@ define([
|
|||
var me = this;
|
||||
|
||||
Common.NotificationCenter.on({
|
||||
'edit:complete': function () {
|
||||
if (me.api && me.modeAlwaysSetStyle) {
|
||||
'edit:complete': function (cmp) {
|
||||
if (me.api && me.modeAlwaysSetStyle && cmp!=='tab') {
|
||||
me.api.asc_formatPainter(AscCommon.c_oAscFormatPainterState.kOff);
|
||||
me.toolbar.btnCopyStyle.toggle(false, true);
|
||||
me.modeAlwaysSetStyle = false;
|
||||
|
|
Loading…
Reference in a new issue