[Libreoffice-commits] online.git: loleaflet/src
Jan Holesovsky (via logerrit)
logerrit at kemper.freedesktop.org
Thu Nov 14 14:02:24 UTC 2019
loleaflet/src/control/Control.Menubar.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 8f86b7e7e7bfb2e33504af562f7282127294e982
Author: Jan Holesovsky <kendy at collabora.com>
AuthorDate: Thu Nov 14 14:18:03 2019 +0100
Commit: Jan Holesovsky <kendy at collabora.com>
CommitDate: Thu Nov 14 15:02:06 2019 +0100
Take the name of .uno:MasterSlidesPanel directly from the core.
Change-Id: Ia75cf573552e0cf4c7eac378138d1ecbfd3e7b4f
Reviewed-on: https://gerrit.libreoffice.org/82692
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index a02db71cf..f02a10f51 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -282,7 +282,7 @@ L.Control.Menubar = L.Control.extend({
{uno: '.uno:ModifyPage'},
{uno: '.uno:SlideChangeWindow'},
{uno: '.uno:CustomAnimation'},
- {uno: '.uno:MasterSlidesPanel', name: _('Master Slides'), id: 'masterslidespanel', type: 'action'}]
+ {uno: '.uno:MasterSlidesPanel'}]
},
{name: _UNO('.uno:InsertMenu', 'presentation'), id: 'insert', type: 'menu', menu: [
{name: _('Local Image...'), id: 'insertgraphic', type: 'action'},
@@ -1137,8 +1137,6 @@ L.Control.Menubar = L.Control.extend({
});
} else if (window.ThisIsAMobileApp && $(item).data('mobileappuno')) {
this._map.sendUnoCommand($(item).data('mobileappuno'));
- } else if (id == 'masterslidespanel') {
- this._map.sendUnoCommand('.uno:MasterSlidesPanel');
}
// Inform the host if asked
if ($(item).data('postmessage') === 'true') {
More information about the Libreoffice-commits
mailing list