Fix 1.2.2 Model#id regression

Fixes #3778.
This commit is contained in:
Justin Ridgewell
2015-10-22 11:04:25 -04:00
parent fee53ab464
commit fda02db428

View File

@@ -506,7 +506,7 @@
}
// Update the `id`.
this.id = this.get(this.idAttribute);
if (this.idAttribute in attrs) this.id = this.get(this.idAttribute);
// Trigger all relevant attribute changes.
if (!silent) {