summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorjeff <jeff>2009-02-12 15:55:40 +0000
committerjeff <jeff>2009-02-12 15:55:40 +0000
commit07a313acb1d91488c6aa6044771f3136d5a6fe11 (patch)
tree0dd8012eade1e7af6a990ed11ce154ea60882ec9 /httemplate/elements
parent850f16089f73212d65751dec48e799d83defa6fb (diff)
better upload error handling and correction of tax upload filecount
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/form-file_upload.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/form-file_upload.html b/httemplate/elements/form-file_upload.html
index 234438c57..4ab70ad9c 100644
--- a/httemplate/elements/form-file_upload.html
+++ b/httemplate/elements/form-file_upload.html
@@ -53,7 +53,7 @@ Example:
var uploaded = document.getElementById('uploaded_files');
var a = uploaded.value.split(',');
- if (uploaded.value.split(',').length == <% $opt{num_files} %>){
+ if (success && uploaded.value.split(',').length == <% $opt{num_files} %>){
process();
}else{
var p = document.getElementById('uploadError');