[DE] fix bug 59971
This commit is contained in:
parent
f453f92a32
commit
f7eccb611f
|
@ -115,6 +115,7 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onDlgBtnClick: function(event) {
|
onDlgBtnClick: function(event) {
|
||||||
|
Common.NotificationCenter.trigger('modal:close', this);
|
||||||
if ( this.handler ) {
|
if ( this.handler ) {
|
||||||
this.handler.call(this, event.currentTarget.attributes['result'].value);
|
this.handler.call(this, event.currentTarget.attributes['result'].value);
|
||||||
return;
|
return;
|
||||||
|
@ -123,6 +124,7 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onToolClose: function() {
|
onToolClose: function() {
|
||||||
|
Common.NotificationCenter.trigger('modal:close', this);
|
||||||
if ( this.handler ) {
|
if ( this.handler ) {
|
||||||
this.handler.call(this, 'cancel');
|
this.handler.call(this, 'cancel');
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue