loleaflet/js/toolbar.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit ed3739c8f1712562aa0bc43740b3a68b0e0e12c0 Author: Jan Holesovsky <ke...@collabora.com> Date: Thu Jun 7 13:20:33 2018 +0200 Don't use colons here. Change-Id: If838a44d766ab70ac5c7efc904eec37a8131554c diff --git a/loleaflet/js/toolbar.js b/loleaflet/js/toolbar.js index b9fdee9aa..65f2c3b96 100644 --- a/loleaflet/js/toolbar.js +++ b/loleaflet/js/toolbar.js @@ -208,9 +208,9 @@ function onClick(e, id, item, subItem) { else if (id === 'lastrecord') { $('#spreadsheet-tab-scroll').scrollLeft($('#spreadsheet-tab-scroll').scrollLeft() + 120); } - else if (id.startsWith('menu:wrap:wrap-')) + else if (id.startsWith('menu-wrap:wrap-')) { - var wrapType = id.substring('menu:wrap:wrap-'.length); + var wrapType = id.substring('menu-wrap:wrap-'.length); map.toggleCommandState(wrapType); } else if (id === 'insertgraphic') { @@ -519,7 +519,7 @@ function createToolbar() { $('#toolbar-up').w2toolbar({ name: 'toolbar-up', items: [ - {type: 'menu', id: 'writer:menu:wrap', caption: _('Textwrap'), items: [ + {type: 'menu', id: 'menu-wrap', caption: _('Textwrap'), items: [ { text: _('No wrap'), id: 'wrap-WrapOff' }, { text: _('Page wrap'), id: 'wrap-WrapOn' }, { text: _('Wrap anchor only'), id: 'wrap-WrapAnchorOnly' }, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits