From 07a313acb1d91488c6aa6044771f3136d5a6fe11 Mon Sep 17 00:00:00 2001 From: jeff Date: Thu, 12 Feb 2009 15:55:40 +0000 Subject: better upload error handling and correction of tax upload filecount --- httemplate/elements/form-file_upload.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/elements/form-file_upload.html') 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'); -- cgit v1.2.1