Fix Bug 37251
This commit is contained in:
parent
cbf983a2ee
commit
49078c01a6
|
@ -134,11 +134,14 @@ define([
|
|||
}
|
||||
}, this));
|
||||
diagramEditor.on('hide', _.bind(function(cmp, message) {
|
||||
this.documentHolder.fireEvent('editcomplete', this.documentHolder);
|
||||
if (this.api) {
|
||||
this.api.asc_onCloseChartFrame();
|
||||
this.api.asc_enableKeyEvents(true);
|
||||
}
|
||||
var me = this;
|
||||
setTimeout(function(){
|
||||
me.documentHolder.fireEvent('editcomplete', me.documentHolder);
|
||||
}, 10);
|
||||
}, this));
|
||||
}
|
||||
|
||||
|
@ -151,10 +154,13 @@ define([
|
|||
this.api.asc_setMailMergeData(data);
|
||||
}, this));
|
||||
mergeEditor.on('hide', _.bind(function(cmp, message) {
|
||||
this.documentHolder.fireEvent('editcomplete', this.documentHolder);
|
||||
if (this.api) {
|
||||
this.api.asc_enableKeyEvents(true);
|
||||
}
|
||||
var me = this;
|
||||
setTimeout(function(){
|
||||
me.documentHolder.fireEvent('editcomplete', me.documentHolder);
|
||||
}, 10);
|
||||
}, this));
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue