diff options
author | Andras Timar <andras.timar@collabora.com> | 2016-05-26 13:27:53 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2016-05-26 13:31:22 +0200 |
commit | d6834f5ec2f7112e42f4d4d4a67bd8391aff078f (patch) | |
tree | aada12b70fa10566e651f140b166ba90aab826db | |
parent | f18d160b7134f5081d5e95982e073b1a557f07b3 (diff) |
loleaflet: move insert table button to 1st position of its section1.6.8-2
The top left corner of dropdown table widget is near to the mouse
position where the user clicks. If Insert table button is too close
to egde of screen, it cannot be drawn properly.
-rw-r--r-- | loleaflet/dist/toolbar/toolbar.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js index 333277d57..e1ad85e6e 100644 --- a/loleaflet/dist/toolbar/toolbar.js +++ b/loleaflet/dist/toolbar/toolbar.js @@ -45,10 +45,10 @@ $(function () { { type: 'button', id: 'incrementindent', img: 'incrementindent', hint: _("Increase indent"), uno: 'IncrementIndent' }, { type: 'button', id: 'decrementindent', img: 'decrementindent', hint: _("Decrease indent"), uno: 'DecrementIndent' }, { type: 'break', id: 'incdecindent' }, - { type: 'button', id: 'annotation', img: 'annotation', hint: _("Insert comment"), uno: 'InsertAnnotation' }, - { type: 'button', id: 'insertgraphic', img: 'insertgraphic', hint: _("Insert graphic") }, { type: 'html', id: 'inserttable-html', html: '<div id="inserttable-popup" class="inserttable-pop ui-widget ui-widget-content ui-corner-all" style="position: absolute; display: none;"><div class="inserttable-grid"></div><div id="inserttable-status" class="loleaflet-font" style="padding: 5px;"><br/></div>' }, { type: 'button', id: 'inserttable', img: 'inserttable', hint: _("Insert table") }, + { type: 'button', id: 'annotation', img: 'annotation', hint: _("Insert comment"), uno: 'InsertAnnotation' }, + { type: 'button', id: 'insertgraphic', img: 'insertgraphic', hint: _("Insert graphic") }, { type: 'break' }, { type: 'button', id: 'help', img: 'help', hint: _("Help") }, { type: 'html', id: 'right' }, |