[Libreoffice-commits] online.git: Branch 'feature/jsdialogs' - loleaflet/src
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Wed May 6 08:50:20 UTC 2020
loleaflet/src/control/Control.JSDialogBuilder.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 641448719a95b1419838bfd5fbd901125a34d927
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed May 6 10:49:47 2020 +0200
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed May 6 10:49:47 2020 +0200
jsdialog: use edit instead of combobox in find & replace
Change-Id: I1d365ef8ac3860ffa581f830c1b989842532723a
diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index 8e34d9b1a..e019f4ef3 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -1362,8 +1362,12 @@ L.Control.JSDialogBuilder = L.Control.extend({
if (data.id === 'applystyle' ||
data.id === 'fontnamecombobox' ||
data.id === 'fontsizecombobox' ||
- data.id === 'FontBox')
+ data.id === 'FontBox') {
builder._listboxControl(parentContainer, data, builder);
+ } else if (data.id === 'searchterm' ||
+ data.id === 'replaceterm') {
+ builder._editControl(parentContainer, data, builder);
+ }
else
builder._explorableEditControl(parentContainer, data, builder);
},
More information about the Libreoffice-commits
mailing list