mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
0fa3ab807c
Closes #3037 - Created `NProgressSaveMixin`, which extends the `save` method of a model to fire NProgress. - Extended `UserModel`, `PostModel`, and `SettingModel` with the new mixin. - NProgress can be disabled by passing an options hash to the save function with the `{disableNProgress:true}` - Now that the ValidationEngine isn't the only thing playing with options inside of `model#save`, refactored it to pass the options down the super chain. |
||
---|---|---|
.. | ||
client | ||
server | ||
shared | ||
test | ||
bootstrap.js | ||
index.js | ||
server.js |