Rank: Member
Groups: Member
Joined: 2/6/2012(UTC) Posts: 27
Thanks: 1 times
|
In JS to create an object reference, Looks like this is the way uploader=$au.imageUploaderFlash('Uploader1'); instead of this uploader=$au.uploader('Uploader1');
Very inconvenient to have different syntax. Took a lot of flipping pages in the Docs to finally see what was wrong.
But my question is, Running the second line in HTML5 (which is wrong) did not throw any JS exceptions so i had no idea the syntax was wrong.
Is there some sort of JS error suppression going on that I can bypass so I get errors shown?
|
|
|
|
Rank: Member
Groups: Member
Joined: 2/6/2012(UTC) Posts: 27
Thanks: 1 times
|
FYI $au.debug().level(3); $au.debug().mode(['console']); uploader=$au.uploader('Uploader1');
I am led to believe this should work, but I get no messages, and everything after the uploader= line that should cause an error is ignored.
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 12/19/2012(UTC) Posts: 164
Was thanked: 8 time(s) in 8 post(s)
|
Hi jmarcv, I noticed that you incorrectly creating an object: Quote:uploader=$au.imageUploaderFlash('Uploader1'); Create the object correctly so: Code:var uploader = $au.imageUploaderFlash({id : 'Uploader1'});
Please use this code for creating the uploader instance, then your following code should work correctly. Code:
$au.debug().level(3);
$au.debug().mode(['console']);
uploader=$au.uploader({id : 'Uploader1'});
I hope it helps. Best regards, Vitaly Kustov Aurigma Technical Support |
Best regards, Vitaly Kustov Aurigma Technical Support
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.