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