Fix Bug 34366.
This commit is contained in:
parent
a3e90451c8
commit
d8338c12f6
|
@ -114,6 +114,7 @@ define([
|
||||||
createExternalEditor.apply(this);
|
createExternalEditor.apply(this);
|
||||||
}
|
}
|
||||||
this.isExternalEditorVisible = true;
|
this.isExternalEditorVisible = true;
|
||||||
|
this.isHandlerCalled = false;
|
||||||
}, this),
|
}, this),
|
||||||
'hide': _.bind(function(cmp){
|
'hide': _.bind(function(cmp){
|
||||||
if (externalEditor) {
|
if (externalEditor) {
|
||||||
|
@ -138,6 +139,8 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
handler: function(result, value) {
|
handler: function(result, value) {
|
||||||
|
if (this.isHandlerCalled) return;
|
||||||
|
this.isHandlerCalled = true;
|
||||||
externalEditor && externalEditor.serviceCommand('queryClose',{mr:result});
|
externalEditor && externalEditor.serviceCommand('queryClose',{mr:result});
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue