[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-2-0' - loleaflet/src
Henry Castro
hcastro at collabora.com
Fri Dec 2 10:14:19 UTC 2016
loleaflet/src/control/Control.CharacterMap.js | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 314a0771adc7d634159777ab13512981a68c1565
Author: Henry Castro <hcastro at collabora.com>
Date: Thu Dec 1 14:29:58 2016 -0400
loleaflet: remove invalid fonts
Change-Id: Ie0383d01f6040d00c630c0aab6b9a66666d079d3
Reviewed-on: https://gerrit.libreoffice.org/31505
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/loleaflet/src/control/Control.CharacterMap.js b/loleaflet/src/control/Control.CharacterMap.js
index c79f371..42210fe 100644
--- a/loleaflet/src/control/Control.CharacterMap.js
+++ b/loleaflet/src/control/Control.CharacterMap.js
@@ -461,6 +461,9 @@ L.Control.CharacterMap = L.Control.extend({
option.innerHTML = this.unicodeBlocks[list[iterator]].name;
}, this);
this._onUnicodeSubsetChange();
+ } else {
+ L.DomUtil.remove(this._fontNames.options[this._fontNames.selectedIndex]);
+ this._onFontNamesChange();
}
},
More information about the Libreoffice-commits
mailing list