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@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
This commit is contained in:
Pranam Lashkari
2020-04-13 14:59:15 +05:30
committed by Andras Timar
parent 4bc3a13ba5
commit 22f8e63beb

View File

@ -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)