Opened 13 years ago

Closed 13 years ago

#749 closed defect (fixed)

Cannot load on new Firefox version

Reported by: guillaumed Owned by: guillaumed
Priority: high Milestone: Version 1.0
Component: Xinha Core Version: trunk
Severity: critical Keywords:
Cc:

Description

Don't ask me why, but there should be a new behavior in the javascript string method indexOf in the new Firefox version..

So the HTMLArea.cloneObject method should be changed with the following one (tested only on Firefox but anyway looks better)

...
  if (obj.constructor.toString().indexOf("function Array(") != -1) { // better than ==1
...
  if (obj.constructor.toString().indexOf("function Function(") != -1) {
...

Change History (3)

comment:1 Changed 13 years ago by gogo

guillaume: you have SVN access, feel free to checkin your fixes!

comment:2 Changed 13 years ago by guillaumed

  • Owner changed from gogo to guillaumed
  • Status changed from new to assigned

comment:3 Changed 13 years ago by guillaumed

  • Resolution set to fixed
  • Status changed from assigned to closed

The code is moving too fast : this bug was corrected in a previous commit...

Note: See TracTickets for help on using tickets.