| View previous topic :: View next topic |
| Author |
Message |
Ugly Mau
Joined: 30 Aug 2007 Posts: 7
|
Posted: Aug 30, 2007 9:25 am Post subject: Load not obligatory |
|
|
Hello
I use the "Pro2.5"
I have the field of upload within a form, is possiblie leave the field of upload not obligatory?
Why to every submit of the form it wonders a file to load...
Thanks |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Aug 30, 2007 9:54 am Post subject: |
|
|
Sure. Just comment this line in xupload.js:
| Code: | | if(NF==0){alert('Select at least one file to upload');return false;}; |
|
|
| Back to top |
|
 |
Ugly Mau
Joined: 30 Aug 2007 Posts: 7
|
Posted: Aug 30, 2007 12:24 pm Post subject: |
|
|
Works perfectly
Thanks |
|
| Back to top |
|
 |
saadava
Joined: 10 May 2008 Posts: 6
|
Posted: May 10, 2008 1:37 pm Post subject: |
|
|
Hi,
This didn't work for me.
After commenting out the line from xupload.js it gets further but fails when a dialogue box pops up saying:
ERROR: No files uploaded
I'm using Xupload Pro 3.0 Jan 2008.
Would help with this - uploading files is optional in my application.
Si |
|
| Back to top |
|
 |
saadava
Joined: 10 May 2008 Posts: 6
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|