Call group delete instead of model.delete when saving records
The method was moved to group in by changeset 5b4da4e8b70f issue7786 review56441002
This commit is contained in:
1 parent
b22ac44dad
commit
d6cba041f7
1 file changed
+1
-1
+1
-1
@@ -293,7 +293,7 @@
|
||||
this.record_deleted.forEach(function(record) {
|
||||
this._remove(record);
|
||||
}.bind(this));
|
||||
deferreds.push(this.model.delete_(this.record_deleted));
|
||||
deferreds.push(this.delete_(this.record_deleted));
|
||||
this.record_deleted.splice(0, this.record_deleted.length);
|
||||
}
|
||||
return jQuery.when.apply(jQuery, deferreds);
|
||||
|
||||
Reference in new issue
Block a user