[Libreoffice-commits] online.git: loleaflet/src
Pranam Lashkari (via logerrit)
logerrit at kemper.freedesktop.org
Tue Apr 14 06:53:15 UTC 2020
loleaflet/src/control/Control.Menubar.js | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 22f8e63beb686715ed3f06f7e918a44c02c19064
Author: Pranam Lashkari <lpranam at collabora.com>
AuthorDate: Mon Apr 13 14:59:15 2020 +0530
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Tue Apr 14 08:52:57 2020 +0200
leaflet: show checked status for Track changes
show ticks for record and show option in mobile wizard
Change-Id: I8146a5d484ea7e7304c22e77a642d0b46f00bd91
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92108
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Andras Timar <andras.timar at collabora.com>
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index dac5d07d2..7841dc93e 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -1549,6 +1549,10 @@ L.Control.Menubar = L.Control.extend({
if (state && state[style]) {
menuStructure['checked'] = true;
}
+ } else if (item.uno === '.uno:TrackChanges' || item.uno === '.uno:ShowTrackedChanges') {
+ if (this._map['stateChangeHandler'].getItemValue(item.uno) === 'true') {
+ menuStructure['checked'] = true;
+ }
}
if (item.menu)
More information about the Libreoffice-commits
mailing list