[Libreoffice-commits] online.git: loleaflet/dist
Henry Castro
hcastro at collabora.com
Mon Feb 27 20:17:58 UTC 2017
loleaflet/dist/toolbar/toolbar.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit b4704ffdc3c79b00479a00d7fd19a6aa9c064e68
Author: Henry Castro <hcastro at collabora.com>
Date: Mon Feb 27 16:17:17 2017 -0400
loleaflet: fix insert annotation in the toolbar
diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index 714c6ed..6fe0696 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -250,6 +250,9 @@ function onClick(id, item, subItem) {
else if (id === 'presentation' && map.getDocType() === 'presentation') {
map.fire('fullscreen');
}
+ else if (id === 'insertannotation') {
+ map.insertComment();
+ }
else if (id === 'insertpage') {
map.insertPage();
}
@@ -515,7 +518,7 @@ $(function () {
{type: 'break', id: 'incdecindent'},
{type: 'html', id: 'inserttable-html', html: '<div id="inserttable-wrapper"><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></div>'},
{type: 'button', id: 'inserttable', img: 'inserttable', hint: _('Insert table')},
- {type: 'button', id: 'insertannotation', img: 'annotation', hint: _('Insert comment'), uno: 'InsertAnnotation'},
+ {type: 'button', id: 'insertannotation', img: 'annotation', hint: _('Insert comment')},
{type: 'button', id: 'insertgraphic', img: 'insertgraphic', hint: _('Insert graphic')},
{type: 'button', id: 'specialcharacter', img: 'specialcharacter', hint: _('Special Character')},
{type: 'html', id: 'right'},
More information about the Libreoffice-commits
mailing list