From 5d24851cb9084e49f00abe23a6f9876f90e70094 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 2 Oct 2017 09:26:43 +0200 Subject: [PATCH] Display the popup for Move button on bottom --- skins/elastic/templates/includes/mail-menu.html | 2 +- skins/elastic/ui.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/skins/elastic/templates/includes/mail-menu.html b/skins/elastic/templates/includes/mail-menu.html index 53eb2328c..5c9771646 100644 --- a/skins/elastic/templates/includes/mail-menu.html +++ b/skins/elastic/templates/includes/mail-menu.html @@ -26,7 +26,7 @@ + label="move" title="moveto" innerclass="inner" data-popup-pos="bottom" /> diff --git a/skins/elastic/ui.js b/skins/elastic/ui.js index b93cd02c0..c9714b76f 100644 --- a/skins/elastic/ui.js +++ b/skins/elastic/ui.js @@ -1574,7 +1574,7 @@ function rcube_elastic_ui() .appendTo(document.body).get(0); } - pos = 'right'; + pos = $(target).data('popup-pos') || 'right'; if (p.name == 'pagejump-selector') { pos = 'top';