Add timestamp to Model.delete

This commit is contained in:
Cédric Krier committed 2015-03-20 13:56:37 +01:00
1 parent 153b4babce
commit c7d19df48d
1 file changed
+4 -1
+4 -1
View File
@@ -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;
});