diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 44872e8c4..0c0acacd4 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -2000,6 +2000,7 @@ define([ } }; UIElements.getPadCreationScreen = function (common, cfg, appCfg, cb) { + appCfg = appCfg || {}; if (!common.isLoggedIn()) { return void cb(); } var sframeChan = common.getSframeChannel(); var metadataMgr = common.getMetadataMgr();