Rank: Newbie
Groups: Member
Joined: 8/11/2010(UTC) Posts: 3
|
The documentation for events.beforeUploadProperty explains the return value for this as: Quote:A boolean value (true or false). If event handler returns false (or zero), the upload is cancelled. Otherwise, upload begins immediately after the event handler finishes. This makes the event handler convenient for validating additional data provided by user. However, in my testing, setting the return value does not cancel the upload: Code: function BeforeUploadHandler() {
alert("Before Upload");
return false;
}
Any ideas on how to make this work? Thanks!
|
|
|
|
Rank: Advanced Member
Groups: Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello Lubos, Thanks for contacting us. Could you provide me with additional information on this problem? Please let me know: - type of operating system which you use and its exact version number;
- types of used browsers and their version numbers.
Also, please send me the content of Java console when you run your application and try to upload files. Looking forward to your reply. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 8/11/2010(UTC) Posts: 3
|
Thanks for your help on this.
1. The OS I am developing on is Windows XP Professional Service Pack 3 2. Testing with Firefox 3.6.3 and IE8
Behavior is the same in both browsers, the message box pops up, and as soon as I hit ok, the upload proceeds. Not sure about the Java Console as this is the Flash uploader, not the Java one.
I guess I could do the HTML button thing, but for my project it is much more desirable to use the Flash button and intercept that event.
Thanks again,
|
|
|
|
Rank: Advanced Member
Groups: Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello Lubos, Sorry for my mistake about Java Console. I tried to reproduce your problem with Flash Uploader on FF 3.6.3 and IE 8 Windows XP. However, it worked okay for me. I would like to investigate your problem and assist you. Therefore, please could you provide me with a link to your site where this issue occurs? If it is not possible, please send me complete code script with embedding Image Uploader Flash. Also, to resolve your problem in timely manner you could submit support ticket. Looking forward to reply from you. Edited by user Thursday, August 12, 2010 6:37:20 PM(UTC)
| Reason: Not specified |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 8/11/2010(UTC) Posts: 3
|
Hi Dmitry,
Found the problem!
Turns out that a JavaScript Library (Moo Tools) reference on the page was causing this behavior. Removing the reference resolved the issue and the Aurigma Uploader Flash now works perfectly, and as documented.
Thank you for all your help.
|
|
|
|
Rank: Advanced Member
Groups: Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello Lubos,
I am glad that you have resolved your issue. However, please could you provide me with the complete script where you use a JavaScript Library (Moo Tools) reference to which was the reason of this problem? I need to test it on my machine. Probably we will try to fix it and eliminate this problem in the future.
Looking forward to your reply. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
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.