diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index de550dc0c..4c6fd1295 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -464,6 +464,7 @@ define([ var AppConfig = common.getAppConfig(); var button; var sframeChan = common.getSframeChannel(); + var appType = (common.getMetadataMgr().getMetadata().type || 'pad').toUpperCase(); switch (type) { case 'export': button = $('