]> git.p6c8.net - jirafeau_project.git/blobdiff - lib/functions.js.php
[BUGFIX] show proper error on classic upload failure
[jirafeau_project.git] / lib / functions.js.php
index 5b4ad60c6c2d86f88172b283a15c4473ea7da9f4..1527d0159d14a4f50dfbdf8b8b460a6a4a0f6d80 100644 (file)
@@ -370,6 +370,10 @@ function classic_upload (file, time, password, one_time, upload_password)
 
             show_link (res[0], res[1], res[2], expiryDate);
         }
+        else
+        {
+            pop_failure ("<?php echo t("ERR_OCC"); ?>");
+        }
     }
     req.open ("POST", 'script.php' , true);
 

patrick-canterino.de