draft zone for widgets, closes #1238

This commit is contained in:
psychobunny
2014-03-31 16:19:57 -04:00
parent f01cb88c57
commit 7926514c95
3 changed files with 29 additions and 3 deletions

View File

@@ -284,9 +284,12 @@ SocketAdmin.themes.set = function(socket, data, callback) {
if(!data) {
return callback(new Error('invalid data'));
}
meta.themes.set(data, function() {
callback();
meta.restart()
widgets.reset(function(err) {
meta.themes.set(data, function() {
callback();
meta.restart();
});
});
};