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

Notification

Icon
Error

Options
Go to last post Go to first unread
dreynolds  
#1 Posted : Monday, October 12, 2009 10:45:17 PM(UTC)
dreynolds

Rank: Newbie

Groups: Member
Joined: 5/26/2008(UTC)
Posts: 7

Hi,

We recently upgraded to the latest version of Imageuploader and are now encountering 2 issues.

1> In the iuembed.js file on line 455....

var rg = /\"|\'|&|<|>/g;

return text.replace(rg, function(c) {

for (var i = 0, cnt = entities.length; i < cnt; i++) {

if (c == entities[i][0])

return entities[i][1];

}

return c;

});

Error - Object does not support this property or method.

2> We currently have the layout set as TwoPanes like below:

iu.addParam("PaneLayout", "TwoPanes");

This does not show up in IE however. The 3 panes appears with the drag and drop options. We do not encounter this problem with Firefox.

Can you please advise on the above?

Kind regards

Drico

dreynolds  
#2 Posted : Tuesday, October 13, 2009 1:07:53 AM(UTC)
dreynolds

Rank: Newbie

Groups: Member
Joined: 5/26/2008(UTC)
Posts: 7

Found the answer to this.

this breaks on IE as text is seen as an object and not a string.

add text.toString().replace and it works fine.

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.