Opened 14 years ago

Closed 11 years ago

#659 closed defect (inactive)

Problems with editor on hidden iframe

Reported by: Michael Hosse <michael.hosse@…> Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version: trunk
Severity: normal Keywords:


With IE there is an issue concerning use of xinha on hidden iframes. The editor does not know its width as from the second call. If this happens htmlareas.js fails in line 1650 with illegal argument because edcellwidth ist less than zero.

    var edcellwidth = width;
    if(panel_is_alive('left'))  edcellwidth -= parseInt(this.config.panel_dimensions.left);
    if(panel_is_alive('right')) edcellwidth -= parseInt(this.config.panel_dimensions.right);     =  edcellwidth + 'px';

A quickfix is to check edcellwidth before the assignment if it is greater than zero. But i am not sure if there is another reason for the wrong value in width.

Change History (1)

comment:1 Changed 11 years ago by gogo

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

Too old, nobody complains, inactive.

Note: See TracTickets for help on using tickets.