[Libreoffice-commits] online.git: loleaflet/html
Michael Meeks (via logerrit)
logerrit at kemper.freedesktop.org
Tue Aug 11 12:21:56 UTC 2020
loleaflet/html/loleaflet.html.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit d28278fa7e8ce3a81d5906b175cf4af41187951c
Author: Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Tue Aug 11 11:35:00 2020 +0100
Commit: Michael Meeks <michael.meeks at collabora.com>
CommitDate: Tue Aug 11 14:21:37 2020 +0200
Constrain image insertion to select just images.
Change-Id: Ife7a655ca540ddc854f1bdeaacf256a58ebcc02d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100475
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/loleaflet/html/loleaflet.html.m4 b/loleaflet/html/loleaflet.html.m4
index 6aebc2321..c1273e439 100644
--- a/loleaflet/html/loleaflet.html.m4
+++ b/loleaflet/html/loleaflet.html.m4
@@ -172,8 +172,8 @@ m4_ifelse(MOBILEAPP,[true],
window.documentSigningURL = '%DOCUMENT_SIGNING_URL%';
</script>
- <input id="insertgraphic" type="file" style="position: fixed; top: -100em">
- <input id="selectbackground" type="file" style="position: fixed; top: -100em">
+ <input id="insertgraphic" type="file" accept="image/*" style="position: fixed; top: -100em">
+ <input id="selectbackground" type="file" accept="image/*" style="position: fixed; top: -100em">
<div id="closebuttonwrapper">
<div class="closebuttonimage" id="closebutton"></div>
More information about the Libreoffice-commits
mailing list