From ffbcd73ee0b11362227f2e7ceb21633a83cce6ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 23 Oct 2015 23:52:38 +0200 Subject: [PATCH] Use Record.cancel instead of clearing _loaded Since changeset e6b3bc445b7a, the timestamp must be cleared if we reload the record. issue5065 review19571002 --- src/model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model.js b/src/model.js index dbfd8d3b0d..9e2db571df 100644 --- a/src/model.js +++ b/src/model.js @@ -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)); };