v1.18.x
Baris Soner Usakli 11 years ago
parent f08067bab2
commit 9de5214a2f

@ -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 {

@ -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);
}
});

Loading…
Cancel
Save