diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2020-05-06 10:49:47 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2020-05-18 14:22:09 +0200 |
commit | 9eb64fd441a50b55b77f252fc7e2aedfb3b0d385 (patch) | |
tree | 49449e2cbf7e62222f6182453547c5ec13b2a256 | |
parent | Add spell check dialog in mobile menu (diff) | |
download | online-feature/jsdialogs.tar.gz online-feature/jsdialogs.zip |
jsdialog: use edit instead of combobox in find & replace
feature/jsdialogs
Change-Id: I1d365ef8ac3860ffa581f830c1b989842532723a
-rw-r--r-- | loleaflet/src/control/Control.JSDialogBuilder.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js index 492bbe3dd3..0de7e0aba3 100644 --- a/loleaflet/src/control/Control.JSDialogBuilder.js +++ b/loleaflet/src/control/Control.JSDialogBuilder.js @@ -1393,8 +1393,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); }, |