[Libreoffice-commits] online.git: loleaflet/src
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jul 7 12:34:54 UTC 2020
loleaflet/src/control/Control.Notebookbar.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit eaa904478ecd0782a2bd5e4c16a79765206f8807
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Tue Jul 7 13:47:31 2020 +0200
Commit: Szymon Kłos <szymon.klos at 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 <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos at 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();
}
}
}
More information about the Libreoffice-commits
mailing list