[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-4' - loleaflet/js
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Jan 2 16:43:32 UTC 2019
loleaflet/js/toolbar.js | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 2d73be97322c2ff6dc7cffd5ffb438b394753bda
Author: Henry Castro <hcastro at collabora.com>
AuthorDate: Sat Dec 22 20:33:28 2018 -0400
Commit: Jan Holesovsky <kendy at collabora.com>
CommitDate: Wed Jan 2 17:42:38 2019 +0100
loleaflet: force toolbar resizes when update custom ...
combo box toolbar items.
Change-Id: Ib0e6bd5b6b59ef7fb4afa32ea0e16273b72cf503
diff --git a/loleaflet/js/toolbar.js b/loleaflet/js/toolbar.js
index cdfc43352..187472334 100644
--- a/loleaflet/js/toolbar.js
+++ b/loleaflet/js/toolbar.js
@@ -2022,6 +2022,7 @@ function updateCommandValues(targetName) {
});
$('.styles-select').val(stylesSelectValue).trigger('change');
$('.styles-select').on('select2:select', onStyleSelect);
+ w2ui['editbar'].resize();
}
if (targetName === 'fonts' && $('.fonts-select option').length === 1) {
@@ -2044,6 +2045,7 @@ function updateCommandValues(targetName) {
});
$('.fonts-select').on('select2:select', onFontSelect);
$('.fonts-select').val(fontsSelectValue).trigger('change');
+ w2ui['editbar'].resize();
}
if (targetName === 'fontsizes' && $('.fontsizes-select option').length === 1) {
@@ -2057,6 +2059,7 @@ function updateCommandValues(targetName) {
updateFontSizeList(fontsSelectValue);
}
$('.fontsizes-select').val(fontsizesSelectValue).trigger('change');
+ w2ui['editbar'].resize();
}
}
More information about the Libreoffice-commits
mailing list