Handle saving errors when none exist already
// FREEBIE
This commit is contained in:
parent
4cc7a30107
commit
7ec4700431
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue