Fix Bug 33560, Fix Bug 33549
This commit is contained in:
parent
12d6ef13ee
commit
e818ddf253
|
@ -94,7 +94,7 @@ define([
|
||||||
'Common.Views.ExternalDiagramEditor': {
|
'Common.Views.ExternalDiagramEditor': {
|
||||||
'setchartdata': _.bind(this.setChartData, this),
|
'setchartdata': _.bind(this.setChartData, this),
|
||||||
'drag': _.bind(function(o, state){
|
'drag': _.bind(function(o, state){
|
||||||
externalEditor.serviceCommand('window:drag', state == 'start');
|
externalEditor && externalEditor.serviceCommand('window:drag', state == 'start');
|
||||||
},this),
|
},this),
|
||||||
'show': _.bind(function(cmp){
|
'show': _.bind(function(cmp){
|
||||||
var h = this.diagramEditorView.getHeight(),
|
var h = this.diagramEditorView.getHeight(),
|
||||||
|
@ -138,7 +138,7 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
handler: function(result, value) {
|
handler: function(result, value) {
|
||||||
externalEditor.serviceCommand('queryClose',{mr:result});
|
externalEditor && externalEditor.serviceCommand('queryClose',{mr:result});
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -94,7 +94,7 @@ define([
|
||||||
'Common.Views.ExternalMergeEditor': {
|
'Common.Views.ExternalMergeEditor': {
|
||||||
'setmergedata': _.bind(this.setMergeData, this),
|
'setmergedata': _.bind(this.setMergeData, this),
|
||||||
'drag': _.bind(function(o, state){
|
'drag': _.bind(function(o, state){
|
||||||
externalEditor.serviceCommand('window:drag', state == 'start');
|
externalEditor && externalEditor.serviceCommand('window:drag', state == 'start');
|
||||||
},this),
|
},this),
|
||||||
'show': _.bind(function(cmp){
|
'show': _.bind(function(cmp){
|
||||||
var h = this.mergeEditorView.getHeight(),
|
var h = this.mergeEditorView.getHeight(),
|
||||||
|
@ -138,7 +138,7 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
handler: function(result, value) {
|
handler: function(result, value) {
|
||||||
externalEditor.serviceCommand('queryClose',{mr:result});
|
externalEditor && externalEditor.serviceCommand('queryClose',{mr:result});
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue