Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Stewart  
#1 Posted : Monday, July 16, 2007 12:46:26 PM(UTC)
Stewart

Rank: Member

Groups: Member
Joined: 7/12/2007(UTC)
Posts: 5

I ran into a little issue..

if I use the addfield method with multipledestinations one wil overwrite the other.

Example:

I have
Code:
iu.addEventListener("BeforeUpload", "ImageUploader_BeforeUpload")
iu.addEventListener("BeforeUpload", "beforeUploadHandler");


The first for multipledestinations
and the second for additional data

is there a way to add both functions to the BeforeUpload?

Edited by user Friday, February 22, 2008 11:49:49 PM(UTC)  | Reason: Not specified

Fedor  
#2 Posted : Tuesday, July 17, 2007 12:01:57 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,556

Thanks: 5 times
Was thanked: 62 time(s) in 61 post(s)
Stewart,

Quote:
Code:
iu.addEventListener("BeforeUpload", "ImageUploader_BeforeUpload")
iu.addEventListener("BeforeUpload", "beforeUploadHandler");


You can only set one event handler on one event. However why not just put the code of both ImageUploader_BeforeUpload and beforeUploadHandler event handlers in one function?

Edited by user Friday, February 22, 2008 11:50:07 PM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
Users browsing this topic
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.