]> git.p6c8.net - jirafeau_project.git/blobdiff - index.php
added download button in admin interface
[jirafeau_project.git] / index.php
index ae25e7b6c4cef2a42c912a79c9cca17b9558a79b..2b6e889a98bf91f867b3919f2754922a0ba64bc9 100644 (file)
--- a/index.php
+++ b/index.php
@@ -144,6 +144,7 @@ if (!has_error () && $writable)
     <input type = "submit" id='send' value ="<?php echo t('Send'); ?>"
     onclick="
         document.getElementById('send').value='<?php echo t ('Uploading ...'); ?>';
     <input type = "submit" id='send' value ="<?php echo t('Send'); ?>"
     onclick="
         document.getElementById('send').value='<?php echo t ('Uploading ...'); ?>';
+        document.getElementById('send').submit ();
         document.getElementById('send').disabled='true';
     "/>
     </p><hr /><div id = "moreoptions"> <p><label><input type =
         document.getElementById('send').disabled='true';
     "/>
     </p><hr /><div id = "moreoptions"> <p><label><input type =

patrick-canterino.de