From 5bb05680acd0f05c4b7b9919eeb3adf5bbf54aba Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 16 Nov 2018 10:55:19 +0100 Subject: [PATCH] Elastic: Fix regression where "Select" option is disabled on mobile (#6523) --- skins/elastic/ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/skins/elastic/ui.js b/skins/elastic/ui.js index e66c8dd65..11b5b12ef 100644 --- a/skins/elastic/ui.js +++ b/skins/elastic/ui.js @@ -386,9 +386,10 @@ function rcube_elastic_ui() btn_class += ' button disabled'; } else if (popup = target.data('popup')) { - button.data('popup', popup).data('toggle-button', target.data('toggle-button')); + button.data({popup: popup, 'toggle-button': target.data('toggle-button')}); popup_init(button[0]); click = false; + rcmail.register_menu_button(button[0], popup); } button.attr({id: button_id, href: '#', 'class': btn_class})