Handle saving errors when none exist already

// FREEBIE
This commit is contained in:
lilia 2015-10-02 12:28:29 -07:00
parent 4cc7a30107
commit 7ec4700431

View file

@ -161,7 +161,9 @@
} }
return e; return e;
}); });
return this.save({errors : this.get('errors').concat(errors)}); errors = errors.concat(this.get('errors') || []);
return this.save({errors : errors});
}, },
removeConflictFor: function(number) { removeConflictFor: function(number) {