Add timestamp to Model.delete
This commit is contained in:
1 parent
153b4babce
commit
c7d19df48d
1 file changed
+4
-1
+4
-1
@@ -51,7 +51,10 @@
|
||||
return record.id >= 0;
|
||||
});
|
||||
var context = {};
|
||||
// TODO timestamp
|
||||
context._timestamp = {};
|
||||
records.forEach(function(record) {
|
||||
jQuery.extend(context._timestamp, record.get_timestamp());
|
||||
});
|
||||
var record_ids = records.map(function(record) {
|
||||
return record.id;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user