Opened 14 years ago

Closed 14 years ago

#793 closed defect (duplicate)

IE Showstopper Bug Introduced Between Version 484 and 510

Reported by: GazElms Owned by: gogo
Priority: high Milestone:
Component: Plugin_Stylist Version:
Severity: blocker Keywords: ie freezes html source stylist


When I go into html source mode and then back into design mode by pressing the <> button twice, Internet Explorer freezes.

This only happens when I use the stylist plugin and also only happens in Internet Explorer.

It seems to happen because the sizeEditor function is called infinitely when returning to design mode from html source mode.

I have been using winmerge to examine the differences between version 484 and 510 and noticed that the problem only occurs when the following code from version 510 is copied into version 484's htmlarea.js :

  // (re)size the left and right panels so they are equal the editor height
  for(var i = 0; i < this._panels.left.panels.length; i++)
    this._panels.left.panels[i].style.height =;

  for( i = 0; i < this._panels.right.panels.length; i++)
    this._panels.right.panels[i].style.height =;

This code is at the end of the sizeEditor function. I don't think the above code directly causes the internet explorer freeze but it may have a knock on effect.

I have spent a couple of hours looking at this. I will look a little longer to try and determine why sizeEditor is inifintely invoked. Failing that, I will go back to version 484 until this problem is fixed.

Thanks, Gaz

Change History (1)

comment:1 Changed 14 years ago by gogo

  • Resolution set to duplicate
  • Status changed from new to closed

dup of #766

Note: See TracTickets for help on using tickets.