[de][comparison] Fix callback call

This commit is contained in:
Sergey Luzyanin 2019-10-25 13:46:37 +03:00
parent a32ac3ec9e
commit a7aa69f454

View file

@ -639,7 +639,7 @@ define([
primary: 'yes',
callback: function(result) {
_.defer(function() {
if (callback) callback.call(result=='yes');
if (callback) callback(result=='yes');
});
Common.NotificationCenter.trigger('edit:complete', this.view);
}