[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),
|
}, this),
|
||||||
dblclick: $.proxy(function() {
|
dblclick: $.proxy(function() {
|
||||||
this.trigger('tab:dblclick', this, this.tabs.indexOf(tab), tab);
|
this.trigger('tab:dblclick', this, this.tabs.indexOf(tab), tab);
|
||||||
|
|
|
@ -3108,8 +3108,8 @@ define([
|
||||||
var me = this;
|
var me = this;
|
||||||
|
|
||||||
Common.NotificationCenter.on({
|
Common.NotificationCenter.on({
|
||||||
'edit:complete': function () {
|
'edit:complete': function (cmp) {
|
||||||
if (me.api && me.modeAlwaysSetStyle) {
|
if (me.api && me.modeAlwaysSetStyle && cmp!=='tab') {
|
||||||
me.api.asc_formatPainter(AscCommon.c_oAscFormatPainterState.kOff);
|
me.api.asc_formatPainter(AscCommon.c_oAscFormatPainterState.kOff);
|
||||||
me.toolbar.btnCopyStyle.toggle(false, true);
|
me.toolbar.btnCopyStyle.toggle(false, true);
|
||||||
me.modeAlwaysSetStyle = false;
|
me.modeAlwaysSetStyle = false;
|
||||||
|
|
Loading…
Reference in a new issue