diff --git a/bricks/bricks.js b/bricks/bricks.js index af4f4b3..0750090 100755 --- a/bricks/bricks.js +++ b/bricks/bricks.js @@ -298,6 +298,7 @@ bricks.buildDispatchEventHandler = function(w, target, rtdata, desc){ bricks.getWidgetById = function(id, from_widget){ if (!from_widget){ from_widget = bricks.Body; + } if (! id){ return from_widget; }