Pageear is not working on IE7 (maybe nor IE6).

I think this bug was introduced in 2.1 when I decided to change pageear javascript to Object Oriented code to provide with the posibility to have more than one pageear on same page (by now you can have four, one on each corner).

To define pageear params I use an object literal notation. Javascript object literal notation looks something like this:

pageearvars = {
  param1: "myparam1",
  param2: "myparam2",
  ...
  paramN: "myparamN"
};

But as I'm using a foreach statement to write params (write param name, write colon, write space, write param value, write comma, write carriage return) I got an output similar to this:

pageearvars = {
  param1: "myparam1",
  param2: "myparam2",
  ...
  paramN: "myparamN",
};

Are you able to find the difference?

If you found it, yes you are right, it is that comma at the end of the line before the end bracket.

Well, it is just that what IE7 (maybe IE6 too) don't like and it is why pageear is not being displayed now in that browser.

Thanks pawelc for the report.

Comments

manfer’s picture

I think 6.x-2.1-rc11 will fix it.

If someone could confirm.

Thanks.

pawelc’s picture

IE7 works ;)
Thx again Manfer. I appreciate your help.

Bast regs
Pawel

manfer’s picture

Status: Active » Fixed

I mark it as fixed.

Thanks for confirmation.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.