mirror of
https://github.com/LibreOffice/online.git
synced 2025-08-20 16:39:17 +00:00
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:

committed by
Andras Timar

parent
4bc3a13ba5
commit
22f8e63beb
@ -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)
|
||||
|
Reference in New Issue
Block a user