From cb6f0513a2ed590663daa3d712b72d78a0a5ed08 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 16 Jan 2020 17:51:02 +0100 Subject: [PATCH 1/2] 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'); From cbe407084df5e26aa081a1243e764c92ecaf07d6 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 16 Jan 2020 17:57:25 +0100 Subject: [PATCH 2/2] Remove XXX --- www/common/common-ui-elements.js | 1 - 1 file changed, 1 deletion(-) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 213887265..b4e395310 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -1303,7 +1303,6 @@ define([ onFriendShare.reg(saveValue); - // XXX Don't display access rights if no contacts var contactsContent = h('div.cp-share-modal'); var $contactsContent = $(contactsContent);