From a1b3e50639369cd40660726c66ce0056067d29ee Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Fri, 9 Feb 2024 18:05:05 -0600 Subject: [PATCH] bug fix --- static/js/bootup.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/js/bootup.js b/static/js/bootup.js index 357da63..6d59d21 100644 --- a/static/js/bootup.js +++ b/static/js/bootup.js @@ -55,7 +55,10 @@ bootup.finalize = function(_id){ } bootup.init = function(sys_id,_layout){ - if (_layout){ + if (!_layout) { + return ; + } + if (_layout.on){ jx.utils.keys(_layout.on.load).forEach(function(_domId){ var observers =