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:
Michael Nason 2013-10-14 14:07:20 -07:00 committed by nason
parent bb3b153d1c
commit 7044d97d73

View File

@ -214,7 +214,7 @@
success: self.saveSuccess,
error: self.saveError
}).then(function () {
self.render();
self.saveSettings();
});
return true;
@ -275,7 +275,7 @@
success: self.saveSuccess,
error: self.saveError
}).then(function () {
self.render();
self.saveUser();
});
return true;
},