Rank: Newbie
Groups: Member
Joined: 7/5/2009(UTC) Posts: 1
|
Hi, I'm setting up the Dual uploader, standard edition. getPaneItemChecked seems to have a problem under IE7. Here's some test code: Code:function UpdateCheckedItemAppearance() {
// debugging
var imageUploader = getImageUploader("ImageUploader1");
var foo = imageUploader.getPaneItemChecked(0); // <---- BROKEN
console.log(foo);
}
... then later ...
var iu = new ImageUploaderWriter("ImageUploader1", imageUploader_div.w, imageUploader_div.h);
// add the listener
iu.addEventListener("UploadFileCountChange", "UpdateCheckedItemAppearance");
Can you help? Error message is "Line 1265 Error: Wrong number of arguments or invalid property assignment" Thanks.
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello Andrew, Sorry for delayed answer. I attached fixed iuembed.js file to this post. Please download it, and replace your JS file with the new one. I checked Image Uploader with new iuembed.js - getPaneItemChecked(Index) property worked in IE okay. Also, a bug was found in documentation. According to the article, Index is a non-negative integer that specifies an index of a thumbnail item on a pane (zero-based). However, it should start with 1. Thus, please correct your script: Code://…code…
var foo = imageUploader.getPaneItemChecked(1);
//…code…
If you have any additional questions please let me know. |
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.