jsdialog: double Sidebar call in Inplace mode

To activate Sidebar in Chart activated context.

Change-Id: I4579f01e45d0b56bdee32f649498820c404cd5a9
This commit is contained in:
Szymon Kłos 2019-12-12 12:27:01 +01:00
parent 2da5586a36
commit 6fe5ac162c

View file

@ -349,6 +349,8 @@ function onClick(e, id, item, subItem) {
if (!map._sidebarVisible) {
map._sidebarVisible = true;
map.sendUnoCommand('.uno:Sidebar');
if (map.hasObjectFocusDarkOverlay())
map.sendUnoCommand('.uno:Sidebar');
} else {
// As the sidebar LOKWindowId can and does change,
// esp. between chart and other elements, we apparently