]> git.p6c8.net - jirafeau.git/commitdiff
fix send button javascript
authorJerome Jutteau <mojo@couak.net>
Wed, 2 Jan 2013 20:16:49 +0000 (21:16 +0100)
committerJerome Jutteau <mojo@couak.net>
Wed, 2 Jan 2013 20:16:49 +0000 (21:16 +0100)
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 ...'); ?>';
+        document.getElementById('send').submit ();
         document.getElementById('send').disabled='true';
     "/>
     </p><hr /><div id = "moreoptions"> <p><label><input type =

patrick-canterino.de