Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#2097 closed Bug (duplicate)

JS error when rightclicking table with thead tag

Reported by: Alex 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 (4)

comment:1 Changed 10 years ago by Martin Kou

Keywords: Confirmed added; table thead removed

Confirmed for both IE and Firefox.

comment:2 Changed 10 years ago by Martin Kou

Milestone: FCKeditor 2.7

comment:3 Changed 10 years ago by Alfonso Martínez de Lizarrondo

Resolution: duplicate
Status: newclosed

dup of #1865

comment:4 Changed 9 years ago by Frederico Caldeira Knabben

Milestone: FCKeditor 2.7
Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy