mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Merge pull request #5656 from cobbspur/spinnerfix
Fix spinner on settings page
This commit is contained in:
commit
8be0256fe6
1 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ export default Ember.Controller.extend(ValidationEngine, {
|
||||||
window.history.replaceState({path: newPath}, '', newPath);
|
window.history.replaceState({path: newPath}, '', newPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.toggleProperty('submitting');
|
self.toggleProperty('submitting');
|
||||||
|
|
||||||
return model;
|
return model;
|
||||||
}).catch(function (errors) {
|
}).catch(function (errors) {
|
||||||
|
@ -132,7 +132,7 @@ export default Ember.Controller.extend(ValidationEngine, {
|
||||||
self.get('notifications').showErrors(errors);
|
self.get('notifications').showErrors(errors);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.toggleProperty('submitting');
|
self.toggleProperty('submitting');
|
||||||
});
|
});
|
||||||
|
|
||||||
this.set('lastPromise', promise);
|
this.set('lastPromise', promise);
|
||||||
|
|
Loading…
Add table
Reference in a new issue