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



Go to last post Go to first unread
#1 Posted : Friday, October 29, 2010 12:32:16 AM(UTC)

Rank: Newbie

Groups: Member
Joined: 7/5/2009(UTC)
Posts: 1


I'm setting up the Dual uploader, standard edition.

getPaneItemChecked seems to have a problem under IE7.

Here's some test code:

function UpdateCheckedItemAppearance() {				
				// debugging
 				var imageUploader = getImageUploader("ImageUploader1");
				var foo = imageUploader.getPaneItemChecked(0);   // <---- BROKEN 

... 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"

#2 Posted : Monday, November 1, 2010 5:15:27 PM(UTC)

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:
var foo = imageUploader.getPaneItemChecked(1);   

If you have any additional questions please let me know.
File Attachment(s):
iuembed.zip (12kb) downloaded 0 time(s).
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
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.