不要怂,就是干,撸起袖子干!

Commit ee9ed3fc by Jan Aagaard Meier

Removed that pesky duplicated call to addAttributes, closing #874

1 parent 3d9e71ca
Showing with 5 additions and 5 deletions
...@@ -486,11 +486,11 @@ module.exports = (function() { ...@@ -486,11 +486,11 @@ module.exports = (function() {
key; key;
// add all passed values to the dao and store the attribute names in this.attributes // add all passed values to the dao and store the attribute names in this.attributes
for (key in values) { // for (key in values) {
if (values.hasOwnProperty(key)) { // if (values.hasOwnProperty(key)) {
this.addAttribute(key, values[key]) // this.addAttribute(key, values[key])
} // }
} // }
if (isNewRecord) { if (isNewRecord) {
if (this.hasDefaultValues) { if (this.hasDefaultValues) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!