[de][comparison] Fix callback call
This commit is contained in:
parent
a32ac3ec9e
commit
a7aa69f454
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue