From 69a393f374005eb0eca1f8e118d0e90881ad80c5 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 13 Aug 2021 15:54:53 +0530 Subject: [PATCH] add support for alternate icons and text in 'toggle' buttons --- www/common/common-ui-elements.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 19a124180..81327844f 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -526,6 +526,7 @@ define([ var button; var sframeChan = common.getSframeChannel(); var appType = (common.getMetadataMgr().getMetadata().type || 'pad').toUpperCase(); + data = data || {}; switch (type) { case 'export': button = $('