[Libreoffice-commits] online.git: loleaflet/src
Andras Timar
andras.timar at collabora.com
Tue Jan 9 08:41:40 UTC 2018
loleaflet/src/control/Control.Menubar.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 63c647de9af699551875b6d8f3460bf3ae4d4ac7
Author: Andras Timar <andras.timar at collabora.com>
Date: Tue Jan 9 09:36:35 2018 +0100
Only show checkmarks in Language -> For selection menu
Change-Id: I420b7f9fd1559fdeeedf8836c09021bee36dcbb6
Reviewed-on: https://gerrit.libreoffice.org/47630
Reviewed-by: Andras Timar <andras.timar at collabora.com>
Tested-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 f9fe3daa..741f7341 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -541,7 +541,7 @@ L.Control.Menubar = L.Control.extend({
} else {
$(aItem).removeClass('disabled');
}
- if (unoCommand.indexOf('.uno:LanguageStatus') !== -1) {
+ if (unoCommand.indexOf('.uno:LanguageStatus?Language:string=Current_') !== -1) {
var lang = map['stateChangeHandler'].getItemValue('.uno:LanguageStatus');
var data = decodeURIComponent($(aItem).data('uno'));
if (data.indexOf(lang) !== -1) {
More information about the Libreoffice-commits
mailing list