not referencing parent scope when inside BEGIN in widgets tpl

This commit is contained in:
Julian Lam
2015-03-09 16:15:00 -04:00
parent d2e8d4d86e
commit bbbb362125
3 changed files with 5 additions and 6 deletions

View File

@@ -9,7 +9,6 @@ var async = require('async'),
(function(Widgets) {
Widgets.render = function(uid, area, callback) {
if (!area.locations || !area.template) {
return callback(new Error('[[error:invalid-data]]'));