Display the popup for Move button on bottom

pull/5742/merge
Aleksander Machniak 7 years ago
parent c8f72fafa8
commit 5d24851cb9

@ -26,7 +26,7 @@
<roundcube:if condition="template:name == 'message'" />
<roundcube:button command="move" type="link"
class="button move disabled" classAct="button move"
label="move" title="moveto" innerclass="inner" />
label="move" title="moveto" innerclass="inner" data-popup-pos="bottom" />
<roundcube:button command="print" type="link" data-hidden="small"
class="button print disabled" classAct="button print"
label="print" title="printmessage" innerclass="inner" />

@ -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';

Loading…
Cancel
Save