[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2-2' - loleaflet/src
Pranam Lashkari (via logerrit)
logerrit at kemper.freedesktop.org
Thu Apr 16 04:50:30 UTC 2020
loleaflet/src/control/Control.Menubar.js | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit b6e7d963318bd38cfc0a0300e338276481e0800a
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: Thu Apr 16 06:50:08 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>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92326
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 1f397748c..919a4ab3f 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