loleaflet/src/control/Control.Notebookbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit eaa904478ecd0782a2bd5e4c16a79765206f8807 Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Tue Jul 7 13:47:31 2020 +0200 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Tue Jul 7 14:34:35 2020 +0200 notebookbar: fix context switching Change-Id: I292f013fea46ebe15370ac11cd13e316b4adbd63 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98256 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> diff --git a/loleaflet/src/control/Control.Notebookbar.js b/loleaflet/src/control/Control.Notebookbar.js index 765f6790d..a6c0821a8 100644 --- a/loleaflet/src/control/Control.Notebookbar.js +++ b/loleaflet/src/control/Control.Notebookbar.js @@ -189,7 +189,7 @@ L.Control.Notebookbar = L.Control.extend({ var contexts = tabs[tab].context.split('|'); for (var context in contexts) { if (contexts[context] === event.context) { - this.selectedTab(tabs[tab].name); + $('#' + tabs[tab].name).click(); } } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits