[freeside-commits] freeside/httemplate/elements form-file_upload.html, 1.2, 1.3
Jeff Finucane,420,,
jeff at wavetail.420.am
Thu Feb 12 07:55:43 PST 2009
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv20401/httemplate/elements
Modified Files:
form-file_upload.html
Log Message:
better upload error handling and correction of tax upload filecount
Index: form-file_upload.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/form-file_upload.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- form-file_upload.html 15 Aug 2008 00:41:50 -0000 1.2
+++ form-file_upload.html 12 Feb 2009 15:55:40 -0000 1.3
@@ -53,7 +53,7 @@
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');
More information about the freeside-commits
mailing list