[Libreoffice-commits] online.git: loleaflet/js
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Dec 23 00:39:43 UTC 2018
loleaflet/js/toolbar.js | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit f1440cd57b279b5178764ec57440cda43ca59d77
Author: Henry Castro <hcastro at collabora.com>
AuthorDate: Sat Dec 22 20:33:28 2018 -0400
Commit: Henry Castro <hcastro at collabora.com>
CommitDate: Sat Dec 22 20:38:41 2018 -0400
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 f20e88ec5..8de2549a6 100644
--- a/loleaflet/js/toolbar.js
+++ b/loleaflet/js/toolbar.js
@@ -2026,6 +2026,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) {
@@ -2048,6 +2049,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) {
@@ -2061,6 +2063,7 @@ function updateCommandValues(targetName) {
updateFontSizeList(fontsSelectValue);
}
$('.fontsizes-select').val(fontsizesSelectValue).trigger('change');
+ w2ui['editbar'].resize();
}
}
More information about the Libreoffice-commits
mailing list