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 =