[PE] Fix Bug 42915

This commit is contained in:
Julia Radzhabova 2020-01-27 14:55:51 +03:00 committed by Alexey Golubev
parent 341518baa5
commit 3c41a8a8db

View file

@ -116,11 +116,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));
}
}