loleaflet/js/w2ui-1.5.rc1.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 633d82c299dee02c4dc58e35be4c36340606bfdc Author: Henry Castro <hcas...@collabora.com> AuthorDate: Mon Dec 24 12:17:07 2018 -0400 Commit: Jan Holesovsky <ke...@collabora.com> CommitDate: Wed Jan 2 17:28:31 2019 +0100 loleaflet: w2toolbar: prevent default when scroll buttons is clicked Change-Id: I1c4f7041e612c65f04f429f90dae870e0db731a5 diff --git a/loleaflet/js/w2ui-1.5.rc1.js b/loleaflet/js/w2ui-1.5.rc1.js index 1bfb991c8..d6b0bc19c 100644 --- a/loleaflet/js/w2ui-1.5.rc1.js +++ b/loleaflet/js/w2ui-1.5.rc1.js @@ -13706,8 +13706,8 @@ var w2prompt = function (label, title, callBack) { html += '<td width="100%" id="tb_'+ this.name +'_right" align="right">'+ this.right +'</td>'; html += '</tr>'+ '</tbody></table></div>'+ - '<div class="w2ui-scroll-left" onclick="var el=w2ui[\''+ this.name +'\']; if (el) el.scroll(\'left\');"></div>'+ - '<div class="w2ui-scroll-right" onclick="var el=w2ui[\''+ this.name +'\']; if (el) el.scroll(\'right\');"></div>'; + '<div class="w2ui-scroll-left" onmousedown="event.preventDefault()" onclick="var el=w2ui[\''+ this.name +'\']; if (el) el.scroll(\'left\');"></div>'+ + '<div class="w2ui-scroll-right" onmousedown="event.preventDefault()" onclick="var el=w2ui[\''+ this.name +'\']; if (el) el.scroll(\'right\');"></div>'; $(this.box) .attr('name', this.name) .addClass('w2ui-reset w2ui-toolbar') _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits