diff --git a/src/instance/attributes.js b/src/instance/attributes.js index ee6811a220..a5d6ad497c 100644 --- a/src/instance/attributes.js +++ b/src/instance/attributes.js @@ -11,7 +11,9 @@ copyInstanceAttributes: function () { var a$ = this._instanceAttributes; for (var k in a$) { - this.setAttribute(k, a$[k]); + if (!this.hasAttribute(k)) { + this.setAttribute(k, a$[k]); + } } }, // for each attribute on this, deserialize value to property as needed