Handle saving errors when none exist already

// FREEBIE
pull/749/head
lilia 10 years ago
parent 4cc7a30107
commit 7ec4700431

@ -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) {

Loading…
Cancel
Save