Use Record.cancel instead of clearing _loaded

Since changeset e6b3bc445b7a, the timestamp must be cleared if we reload the
record.

issue5065
review19571002
This commit is contained in:
Cédric Krier committed 2015-10-23 23:52:38 +02:00
1 parent bd44a3f8f8
commit ffbcd73ee0
1 file changed
+1 -1
+1 -1
View File
@@ -307,7 +307,7 @@
ids.forEach(function(id) {
var record = this.get(id);
if (record && jQuery.isEmptyObject(record._changed)) {
record._loaded = {};
record.cancel();
}
}.bind(this));
};