From 689368cdd7e49d61bd1f2faf6a5204747273d3f5 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 7 Mar 2018 10:57:29 +0100 Subject: [PATCH] Fix feedback for markdown toolbar and cke toolbar --- www/common/common-ui-elements.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 = $('