FIX: Don't save placeholder text if description is empty
This commit is contained in:
@@ -58,6 +58,7 @@ export default Ember.Controller.extend({
|
||||
save() {
|
||||
const self = this;
|
||||
this.set('loading', true);
|
||||
this.set('selectedItem.description', '');
|
||||
return this.get('selectedItem').save().then(function() {
|
||||
const query = self.get('selectedItem');
|
||||
query.markNotDirty();
|
||||
|
||||
Reference in New Issue
Block a user