From cb6f0513a2ed590663daa3d712b72d78a0a5ed08 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 16 Jan 2020 17:51:02 +0100 Subject: [PATCH] Fix extension selector in pad export --- www/common/common-ui-elements.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index eb032bfaf..213887265 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -2969,6 +2969,9 @@ define([ var to; $container.on('click', 'a', function () { value = $(this).data('value'); + var $val = $(this); + var textValue = $val.html() || value; + $button.find('.cp-dropdown-button-title').html(textValue); }); $container.keydown(function (e) { var $value = $innerblock.find('[data-value].cp-dropdown-element-active:visible');