From 0d0910d0e227ec03f6a7cbf0027d62fc4b4c3876 Mon Sep 17 00:00:00 2001 From: Eric Marguin Date: Wed, 13 Dec 2006 19:53:48 +0100 Subject: [PATCH] [svn r10493] path real progress bar for the upload --- .../lib/formvalidator/FormValidator.class.php | 8 ++++---- main/inc/lib/javascript/upload.js | 10 +++++++--- main/inc/lib/upload.xajax.php | 19 +++++++++++-------- main/upload/upload_ppt.php | 2 +- 4 files changed, 23 insertions(+), 16 deletions(-) diff --git a/main/inc/lib/formvalidator/FormValidator.class.php b/main/inc/lib/formvalidator/FormValidator.class.php index 056b0e6e57..8090f594d5 100644 --- a/main/inc/lib/formvalidator/FormValidator.class.php +++ b/main/inc/lib/formvalidator/FormValidator.class.php @@ -224,7 +224,7 @@ EOT; * @param upload_id the value of the field UPLOAD_IDENTIFIER * @param delay the frequency of the xajax call */ - function add_real_progress_bar($upload_id, $delay=2) + function add_real_progress_bar($upload_id, $delay=2,$waitAfterupload=false) { if(!function_exists('uploadprogress_get_info')) { @@ -246,9 +246,9 @@ EOT; // add the div where the progress bar will be displayed $this->addElement('html',' -