masterpage: don't open sidebar on master page switch
it should stay in current state Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I446ffaa7183cdb70e0a924c4ea042e280a72bb70
This commit is contained in:
parent
c441669d20
commit
90f5a08d9f
1 changed files with 2 additions and 3 deletions
|
@ -323,9 +323,8 @@ L.Map.include({
|
|||
|
||||
sendUnoCommand: function (command, json) {
|
||||
if ((command.startsWith('.uno:Sidebar') && !command.startsWith('.uno:SidebarShow')) ||
|
||||
command.startsWith('.uno:SlideMasterPage') || command.startsWith('.uno:SlideChangeWindow') ||
|
||||
command.startsWith('.uno:CustomAnimation') || command.startsWith('.uno:MasterSlidesPanel') ||
|
||||
command.startsWith('.uno:ModifyPage')) {
|
||||
command.startsWith('.uno:SlideChangeWindow') || command.startsWith('.uno:CustomAnimation') ||
|
||||
command.startsWith('.uno:MasterSlidesPanel') || command.startsWith('.uno:ModifyPage')) {
|
||||
|
||||
// sidebar control is present only in desktop/tablet case
|
||||
if (this.sidebar) {
|
||||
|
|
Loading…
Reference in a new issue