Pure ASP Upload 3 Support Product Page

This topic was archived

progress bar not working

Reported 07 Jun 2007 16:17:16
1
has this problem
07 Jun 2007 16:17:16 MX Addict posted:
I use PAU 3.0.9 with the flashuploader. For some reason the progress bar doesn't work. When using PAU3.0.9 with a single file field the progress bar works perfect. In 3.0.8 the progress bar worked perfect with flashuploader.

when debug in firefox i get this error

form has no properties:

file: incPU3.js
row: 101

for (var i = 0; i < form.elements.length; i++)

Replies

Replied 08 Jun 2007 12:28:44
08 Jun 2007 12:28:44 Georgi Kralev replied:
Hi MX Addict,

Indeed there is a little problem with the progress bar under flash upload. Try the following workaround:
Change the following code in incPU3.js:
for (var i = 0; i < form.elements.length; i++)
{
field = form.elements[i];
if (!field.type || field.type.toLowerCase() != 'file') continue;
if (field.value && field.value != '') isUpload = true;
}

To:

if (form)
{
for (var i = 0; i < form.elements.length; i++)
{
field = form.elements[i];
if (!field.type || field.type.toLowerCase() != 'file') continue;
if (field.value && field.value != '') isUpload = true;
}
}
else { isUpload = true; }

We will fix it into the next version.

Regards,



Georgi Kralev

----------------------------------
Support - www.DMXzone.com
Replied 08 Jun 2007 15:58:21
08 Jun 2007 15:58:21 MX Addict replied:
Hi Georgi,

Thanks it works

Reply to this topic