[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2' - loleaflet/html

Michael Meeks (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 11 14:58:53 UTC 2020


 loleaflet/html/loleaflet.html.m4 |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e550b3578df996cc4a4a6881e3192915a33d50bd
Author:     Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Tue Aug 11 11:35:00 2020 +0100
Commit:     Aron Budea <aron.budea at 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 <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
    (cherry picked from commit d28278fa7e8ce3a81d5906b175cf4af41187951c)
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100368
    Reviewed-by: Aron Budea <aron.budea at 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>


More information about the Libreoffice-commits mailing list