From 0be414dab953760b3abf309a78b31e173c7e3b2d Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 16 Apr 2014 21:02:25 -0400 Subject: [PATCH] add registered-only checkbox option to widgets --- src/controllers/admin.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/admin.js b/src/controllers/admin.js index 953a06291f..e978c85a78 100644 --- a/src/controllers/admin.js +++ b/src/controllers/admin.js @@ -131,7 +131,8 @@ adminController.themes.get = function(req, res, next) { }, function(err) { for (var w in widgetData.widgets) { if (widgetData.widgets.hasOwnProperty(w)) { - widgetData.widgets[w].content += "

"; + // if this gets anymore complicated, it needs to be a template + widgetData.widgets[w].content += "

"; } }