loleaflet/src/core/Socket.js | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 91dc50696655a56c312f08f7fbf06eb57ce0f258
Author: Pranam Lashkari <[email protected]>
AuthorDate: Mon Jul 20 22:53:52 2020 +0530
Commit: Pranam Lashkari <[email protected]>
CommitDate: Tue Jul 21 09:26:48 2020 +0200
leaflet: resolved Formula bar disappears after session timeout
calcinputbar used to disappear because of no proper initialization after
sassion timeout and that set the wrong width which caused this problem
this makes sure that when reconnecting after session timeout,
first inputbar is unloaded and reloaded properly like first time
(when doc was opened)
Change-Id: Ifbf856d0e565e14b2ef697f342ef6d8e63a5fbd2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96953
Reviewed-by: Ashod Nakashian <[email protected]>
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <[email protected]>
diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index 5c9f61382..08e82af1c 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -493,6 +493,8 @@ L.Socket = L.Class.extend({
{
console.debug('idleness:
reactivating');
map._documentIdle = false;
+ // force reinitialization of
calcInputBar(formulabar)
+ map.dialog._calcInputBar.id =
null;
return map._activate();
}
return false;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits