[REF] web: move async_when to utils

This commit is contained in:
Géry Debongnie
2016-06-17 13:24:54 +02:00
parent cfe13f79e6
commit cfe4b337af
7 changed files with 46 additions and 49 deletions
+1 -1
View File
@@ -816,7 +816,7 @@ var BufferedDataSet = DataSetStatic.extend({
});
this.set_ids(_.difference(this.ids, _.pluck(_.filter(this.cache, function (c) {return c.to_delete;}), 'id')));
this.trigger("dataset_changed", ids, callback, error_callback);
return $.async_when({result: true}).done(callback);
return utils.async_when({result: true}).done(callback);
},
reset_ids: function(ids, options) {
var self = this;