Fix Bug 34366.

This commit is contained in:
Julia Radzhabova 2017-03-17 09:43:35 +03:00
parent a3e90451c8
commit d8338c12f6

View file

@ -114,6 +114,7 @@ define([
createExternalEditor.apply(this);
}
this.isExternalEditorVisible = true;
this.isHandlerCalled = false;
}, this),
'hide': _.bind(function(cmp){
if (externalEditor) {
@ -138,6 +139,8 @@ define([
},
handler: function(result, value) {
if (this.isHandlerCalled) return;
this.isHandlerCalled = true;
externalEditor && externalEditor.serviceCommand('queryClose',{mr:result});
return true;
},