loleaflet/src/control/Control.Menubar.js | 12 ++++++++++-- loleaflet/src/layer/AnnotationManager.js | 3 +-- 2 files changed, 11 insertions(+), 4 deletions(-)
New commits: commit 8328b1bdb6da69a165b14a002cdebc405dbb7ef3 Author: Pranav Kant <pran...@collabora.co.uk> Date: Thu Mar 2 11:44:08 2017 +0530 lolefalet: Bin unused variables Change-Id: I693f67254194f78d999103801b1cf05d1f8196b4 diff --git a/loleaflet/src/layer/AnnotationManager.js b/loleaflet/src/layer/AnnotationManager.js index 5c7d4ba..4d7a66f 100644 --- a/loleaflet/src/layer/AnnotationManager.js +++ b/loleaflet/src/layer/AnnotationManager.js @@ -288,8 +288,7 @@ L.AnnotationManager = L.Class.extend({ L.Map.include({ - insertComment: function(comment) { - comment = !!comment ? comment : {}; + insertComment: function() { this._docLayer.newAnnotation({ text: '', textrange: '', commit 40a1383b6dec2e921fee1d71908445937ac0f2c3 Author: Pranav Kant <pran...@collabora.co.uk> Date: Wed Mar 1 15:55:11 2017 +0530 loleaflet: Show change tracking menu options in file menubar Change-Id: Ie48bfdeb9545fbe7aec40ce3e7bc0f50b7f5007f diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js index 01a4cb5..d066e66 100644 --- a/loleaflet/src/control/Control.Menubar.js +++ b/loleaflet/src/control/Control.Menubar.js @@ -26,8 +26,16 @@ L.Control.Menubar = L.Control.extend({ {name: _('Copy'), type: 'unocommand', uno: '.uno:Copy'}, {name: _('Paste'), type: 'unocommand', uno: '.uno:Paste'}, {type: 'separator'}, - {name: _('Select all'), type: 'unocommand', uno: '.uno:SelectAll'}] - }, + {name: _('Select all'), type: 'unocommand', uno: '.uno:SelectAll'}, + {type: 'separator'}, + {name: _('Track Changes'), type: 'menu', menu: [ + {name: _('Record'), type: 'unocommand', uno: '.uno:TrackChanges'}, + {name: _('Show'), type: 'unocommand', uno: '.uno:ShowTrackedChanges'}, + {type: 'separator'}, + {name: _('Previous'), type: 'unocommand', uno: '.uno:PreviousTrackedChange'}, + {name: _('Next'), type: 'unocommand', uno: '.uno:NextTrackedChange'} + ]} + ]}, {name: _('View'), id: 'view', type: 'menu', menu: [ {name: _('Full screen'), id: 'fullscreen', type: 'action'}, {type: 'separator'}, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits