[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-1-0' - loleaflet/dist

Andras Timar andras.timar at collabora.com
Thu May 26 11:31:50 UTC 2016


 loleaflet/dist/toolbar/toolbar.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d6834f5ec2f7112e42f4d4d4a67bd8391aff078f
Author: Andras Timar <andras.timar at collabora.com>
Date:   Thu May 26 13:27:53 2016 +0200

    loleaflet: move insert table button to 1st position of its section
    
    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.

diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index 333277d..e1ad85e 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' },


More information about the Libreoffice-commits mailing list