loleaflet/html/loleaflet.html.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit e550b3578df996cc4a4a6881e3192915a33d50bd Author: Michael Meeks <michael.me...@collabora.com> AuthorDate: Tue Aug 11 11:35:00 2020 +0100 Commit: Aron Budea <aron.bu...@collabora.com> CommitDate: Tue Aug 11 16:58:33 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 <jenkinscollaboraoff...@gmail.com> Reviewed-by: Michael Meeks <michael.me...@collabora.com> (cherry picked from commit d28278fa7e8ce3a81d5906b175cf4af41187951c) Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100368 Reviewed-by: Aron Budea <aron.bu...@collabora.com> diff --git a/loleaflet/html/loleaflet.html.m4 b/loleaflet/html/loleaflet.html.m4 index f84271e62..8724b4394 100644 --- a/loleaflet/html/loleaflet.html.m4 +++ b/loleaflet/html/loleaflet.html.m4 @@ -171,8 +171,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> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits