0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00

Merge pull request #5656 from cobbspur/spinnerfix

Fix spinner on settings page
This commit is contained in:
Hannah Wolfe 2015-08-11 18:03:21 +01:00
commit 8be0256fe6

View file

@ -124,7 +124,7 @@ export default Ember.Controller.extend(ValidationEngine, {
window.history.replaceState({path: newPath}, '', newPath);
}
this.toggleProperty('submitting');
self.toggleProperty('submitting');
return model;
}).catch(function (errors) {
@ -132,7 +132,7 @@ export default Ember.Controller.extend(ValidationEngine, {
self.get('notifications').showErrors(errors);
}
this.toggleProperty('submitting');
self.toggleProperty('submitting');
});
this.set('lastPromise', promise);