JSAppletInitialized fires too soon?

Upload core product.
Post Reply
jmarcv
Posts: 26
Joined: Sun Nov 07, 2010 4:21 pm

JSAppletInitialized fires too soon?

Post by jmarcv »

I am getting random instances of this error from within JSAppletInitialized
document.fileupload.setProperty is not a function

Here is what I have in my JSAppletInitialized

Code: Select all

function JSAppletInitialized(version)
{
	document.fileupload.setProperty('filterparam1','maxwidth');
	document.fileupload.setProperty('filtervalue1',uplwid);
	document.fileupload.setProperty('filterparam2','disable.maxwidth');
	document.fileupload.setProperty('filtervalue2',uplwid);
	document.fileupload.setProperty('filterparam3','quality');
	document.fileupload.setProperty('filtervalue3',1);
}
setproperty SHOULD be a function when this fires?

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

Re: JSAppletInitialized fires too soon?

Post by support »

Yes, it should work. However, we've noticed some issues under some browsers such as Firefox and Chrome, so you should try document.fileupload.setRegular(name, value) instead. Could you try it?

jmarcv
Posts: 26
Joined: Sun Nov 07, 2010 4:21 pm

Re: JSAppletInitialized fires too soon?

Post by jmarcv »

document.fileupload.setRegular is not a function --

I get this intermittently also.

I will just go back to my settimeout workaround.

Post Reply