Can we change the whitelist parameter real-time?

Upload core product.
Post Reply
wilson
Posts: 15
Joined: Sun Mar 28, 2010 2:53 pm

Can we change the whitelist parameter real-time?

Post by wilson »

I want change the whitelist parameter by select different dorpdown list.
But now this parameter seem to be init in first time, then it can't be replaced.
How can i do?



Thanks

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Can we change the whitelist parameter real-time?

Post by support »

It would require a small customization of the source code. You can contact support(at)jfileupload(dot)com to get a quote.

wilson
Posts: 15
Joined: Sun Mar 28, 2010 2:53 pm

Re: Can we change the whitelist parameter real-time?

Post by wilson »

I get the jfileuploadpremium2.5 , but the jsapi2.5 is not work with it. jsapi will find the jfileupload/transfer/client/core/N.class, but mine is the source code, so not found.

Could you give me the jsapi premium version?

Thanks

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Can we change the whitelist parameter real-time?

Post by support »

Sure, drop an email to support(at)jfileupload(dot)com and they will provide JSAPI premium for free as you already own JFileUpload premium.

wilson
Posts: 15
Joined: Sun Mar 28, 2010 2:53 pm

Re: Can we change the whitelist parameter real-time?

Post by wilson »

Can you give me a probable finish time? (about change whitelist parameter in real-time)
We should estimate with our customers.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Can we change the whitelist parameter real-time?

Post by support »

It should take around 2 hours of work to develop, test and package.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Can we change the whitelist parameter real-time?

Post by support »

This feature has just been implemented in release 2.7:
To update the whitelist from JavaScript:

Code: Select all

document.fileupload.setRegular('whitelist','*.zip');
to reset whitelist:

Code: Select all

document.fileupload.setRegular('whitelist','');
2.7 beta is available for customers

wilson
Posts: 15
Joined: Sun Mar 28, 2010 2:53 pm

Re: Can we change the whitelist parameter real-time?

Post by wilson »

Thanks, i have been receive the support email now.

Post Reply