mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +03:00
Save all settings when the logo or cover save button is clicked.
Fixes #1017. - Call saveSettings for cover and blog logo photos - Call saveUser for profile and profile cover photos
This commit is contained in:
parent
bb3b153d1c
commit
7044d97d73
@ -214,7 +214,7 @@
|
|||||||
success: self.saveSuccess,
|
success: self.saveSuccess,
|
||||||
error: self.saveError
|
error: self.saveError
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
self.render();
|
self.saveSettings();
|
||||||
});
|
});
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
@ -275,7 +275,7 @@
|
|||||||
success: self.saveSuccess,
|
success: self.saveSuccess,
|
||||||
error: self.saveError
|
error: self.saveError
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
self.render();
|
self.saveUser();
|
||||||
});
|
});
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user