From a8955a3328c72acc8b6e646f305ceb735054167a Mon Sep 17 00:00:00 2001 From: Henry Castro Date: Tue, 7 Nov 2017 23:29:27 -0400 Subject: [PATCH] loleaflet: add menu accept/reject all tracked changes Change-Id: I922675bc19158bc17703659da9490750581c6317 --- loleaflet/src/control/Control.Menubar.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js index 4582b5d9e..7c05a0550 100644 --- a/loleaflet/src/control/Control.Menubar.js +++ b/loleaflet/src/control/Control.Menubar.js @@ -42,6 +42,8 @@ L.Control.Menubar = L.Control.extend({ {name: _('Show'), type: 'unocommand', uno: '.uno:ShowTrackedChanges'}, {type: 'separator'}, {name: _('Manage Changes...'), id: '.uno:AcceptTrackedChanges', type: 'dialog'}, + {name: _('Accept All'), type: 'unocommand', uno: '.uno:AcceptAllTrackedChanges'}, + {name: _('Reject All'), type: 'unocommand', uno: '.uno:RejectAllTrackedChanges'}, {name: _('Previous'), type: 'unocommand', uno: '.uno:PreviousTrackedChange'}, {name: _('Next'), type: 'unocommand', uno: '.uno:NextTrackedChange'} ]},