[DE] fix bug 59971

This commit is contained in:
Maxim Kadushkin 2022-12-03 23:27:22 +03:00
parent f453f92a32
commit f7eccb611f

View file

@ -115,6 +115,7 @@ define([
},
onDlgBtnClick: function(event) {
Common.NotificationCenter.trigger('modal:close', this);
if ( this.handler ) {
this.handler.call(this, event.currentTarget.attributes['result'].value);
return;
@ -123,6 +124,7 @@ define([
},
onToolClose: function() {
Common.NotificationCenter.trigger('modal:close', this);
if ( this.handler ) {
this.handler.call(this, 'cancel');
return;