From 9de5214a2fd6090b5f766cf64f1717d0d69f6d12 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Sun, 29 Sep 2013 14:18:43 -0400 Subject: [PATCH] closes #353 --- public/src/forum/admin/footer.js | 2 +- src/meta.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/public/src/forum/admin/footer.js b/public/src/forum/admin/footer.js index 9d1d3acd44..ee9062af9d 100644 --- a/public/src/forum/admin/footer.js +++ b/public/src/forum/admin/footer.js @@ -102,7 +102,7 @@ var nodebb_admin = (function(nodebb_admin) { alert_id: 'config_status', timeout: 2500, title: 'Changes Saved', - message: 'Your changes to the NodeBB configuration have been saved. You may have to restart NodeBB to see the changes.', + message: 'Your changes to the NodeBB configuration have been saved.', type: 'success' }); } else { diff --git a/src/meta.js b/src/meta.js index 97cfe65789..f641e034af 100644 --- a/src/meta.js +++ b/src/meta.js @@ -39,6 +39,8 @@ var utils = require('./../public/src/utils.js'), set: function (field, value, callback) { RDB.hset('config', field, value, function (err, res) { if (callback) { + if(!err) + Meta.config[field] = value; callback(err, res); } });