[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3-0' - loleaflet/src
Andras Timar
andras.timar at collabora.com
Mon Jan 15 19:06:00 UTC 2018
loleaflet/src/control/Control.Menubar.js | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 9f44565598e6da9d8e2d9efb63c0a47cfb4f1611
Author: Andras Timar <andras.timar at collabora.com>
Date: Tue Jan 9 10:45:53 2018 +0100
Put checkmark if spell checking language 'None' is selected
Change-Id: Iccbcbce2590b70c115199fcdb57bd5174d9c3a80
Reviewed-on: https://gerrit.libreoffice.org/47639
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 68d6fb9c..1a458b1b 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -538,6 +538,8 @@ L.Control.Menubar = L.Control.extend({
var data = decodeURIComponent($(aItem).data('uno'));
if (data.indexOf(lang) !== -1) {
$(aItem).addClass('lo-menu-item-checked');
+ } else if (data.indexOf('LANGUAGE_NONE') !== -1 && lang === '[None]') {
+ $(aItem).addClass('lo-menu-item-checked');
} else {
$(aItem).removeClass('lo-menu-item-checked');
}
More information about the Libreoffice-commits
mailing list