Ticket #2097 (closed Bug: duplicate)

Opened 2 years ago

Last modified 22 months ago

JS error when rightclicking table with thead tag

Reported by: aduffield Owned by:
Priority: Normal Milestone:
Component: UI : Context Menu Version: FCKeditor 2.6
Keywords: Confirmed Cc:

Description

Right clicking in the last row of a table that contains a thead produces a JS error (on Firefox 2.0.0.13 OSX 10.5.2)

A[B] has no properties fckeditorcode_gec... (line 64)

The HTML table below will reproduce this JS error on the current 2.6 online demo

<table width="200" cellspacing="1" cellpadding="1" border="1">
    <thead>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
    </tbody>
</table>

Further more, If there are 2 rows in the thead then the last 2 rows of the table will show the same error..

Change History

Changed 2 years ago by martinkou

  • keywords Confirmed added; table thead removed

Confirmed for both IE and Firefox.

Changed 2 years ago by martinkou

  • milestone set to FCKeditor 2.7

Changed 2 years ago by alfonsoml

  • status changed from new to closed
  • resolution set to duplicate

dup of #1865

Changed 22 months ago by fredck

  • milestone FCKeditor 2.7 deleted
Note: See TracTickets for help on using tickets.