[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3-0' - loleaflet/src

Andras Timar andras.timar at collabora.com
Mon Jan 15 19:04:33 UTC 2018


 loleaflet/src/control/Control.Menubar.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4decf25294f636f0b61546f49a99f7066ed0ae6f
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/47631
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 89bbc507..353672fd 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