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

Notification

Icon
Error

Options
Go to last post Go to first unread
plxkarl  
#1 Posted : Friday, June 22, 2007 5:42:44 AM(UTC)
plxkarl

Rank: Member

Groups: Member
Joined: 6/22/2007(UTC)
Posts: 3

Code:
function uploadFinished(html){
	alert(html);
}
iu.addEventListener("AfterUpload", "uploadFinished");


when running the above script in firefox it shows contents of html, however in IE7 it shows "undefined".

Any Ideas?

Also when I alert arguments.length, firefox still shows 1, and IE7 shows 0.

Edited by user Saturday, February 23, 2008 9:52:56 PM(UTC)  | Reason: Not specified

Eugene Kosmin  
#2 Posted : Sunday, June 24, 2007 1:36:43 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 505

Was thanked: 41 time(s) in 41 post(s)
Hello,

Thank you for a bug report.
Arguments definition for AfterUpload event is missed in iuembed.js file. You can manually replace this code:
Code:
switch (e[i].name){
	case "Progress":
		eventParams="Status, Progress, ValueMax, Value, StatusText";
		break;
	case "InnerComplete":
		eventParams="Status, StatusText";
		break;
	case "ViewChange":
	case "SortModeChange":
		eventParams="Pane";
		break;
	default:
		eventParams="";
}

For
Code:
switch (e[i].name){
	case "Progress":
		eventParams="Status, Progress, ValueMax, Value, StatusText";
		break;
	case "InnerComplete":
		eventParams="Status, StatusText";
		break;
	case "AfterUpload":
		eventParams="htmlPage";
		break;
	case "ViewChange":
	case "SortModeChange":
		eventParams="Pane";
		break;
	default:
		eventParams="";
}


And ensure that IE cache is completely cleared.

Edited by user Saturday, February 23, 2008 9:53:25 PM(UTC)  | Reason: Not specified

Best regards,
Eugene Kosmin
The Aurigma Development Team
plxkarl  
#3 Posted : Wednesday, August 22, 2007 12:02:35 AM(UTC)
plxkarl

Rank: Member

Groups: Member
Joined: 6/22/2007(UTC)
Posts: 3

Hey,

Since then you guyz have updated image uploader but forgot to implement that bug fix... Just reminding you. Thanks.
Eugene Kosmin  
#4 Posted : Wednesday, August 22, 2007 12:08:06 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 505

Was thanked: 41 time(s) in 41 post(s)
We really missed that. Thanks for reminding.

Edited by user Saturday, February 23, 2008 9:53:53 PM(UTC)  | Reason: Not specified

Best regards,
Eugene Kosmin
The Aurigma Development Team
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.