From 34e0e9c66c7acb81fb110423de920fee26e5dd2f Mon Sep 17 00:00:00 2001 From: Michael Nason Date: Mon, 14 Oct 2013 14:07:20 -0700 Subject: [PATCH] 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 --- ghost/admin/views/settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost/admin/views/settings.js b/ghost/admin/views/settings.js index 4fd1622c9a..0da1fb8194 100644 --- a/ghost/admin/views/settings.js +++ b/ghost/admin/views/settings.js @@ -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; },