mirror of
https://github.com/LibreOffice/online.git
synced 2025-08-20 23:24:34 +00:00
loleaflet: Check boxes against checked items in context menu
Change-Id: I1a51fec67ba79dc2e82cccb54731bfabb9731470
This commit is contained in:
@ -134,11 +134,11 @@ L.Control.ContextMenu = L.Control.extend({
|
||||
|
||||
if (item.checktype === 'checkmark') {
|
||||
if (item.checked === 'true') {
|
||||
contextMenu[item.command.icon] = 'checkmark';
|
||||
contextMenu[item.command]['icon'] = 'lo-checkmark';
|
||||
}
|
||||
} else if (item.checktype === 'radio') {
|
||||
if (item.checked === 'true') {
|
||||
contextMenu[item.command.icon] = 'radio';
|
||||
contextMenu[item.command]['icon'] = 'radio';
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user