From 1d1d654558993eb685e6b92f6fa6414489783586 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 21 Feb 2024 13:17:07 +0800 Subject: [PATCH] bugfix --- bricks/bricks.js | 1 + 1 file changed, 1 insertion(+) 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; }