Opened 14 years ago

Closed 14 years ago

#6306 closed Bug (fixed)

When all cells are deleted, all table is deleted

Reported by: Krzysztof Studnik Owned by:
Priority: Normal Milestone:
Component: General Version: 3.4.1
Keywords: IE Cc:

Description (last modified by Krzysztof Studnik)

Connected with test case of #4041

  • create table 2x1
  • enter some content in both cells
  • select content from both cells
  • from right-click context menu select Cell- delete cells
  • whole table disappears

When cells <td>...</td> tags are deleted in source editing mode, rest of the table stays, in WYSIWYG mode

  • on the rest of the table, right click and select properties
  • there is delay while opening properties dialog and JS error is thrown in console
    $.rows[...].cells.0.nodeName' is null or not an object (line7) (table.js?t=A8FA)
    

It looks that the scripts waits for value in Columns field, which is empty

Update: I continued this case:

  • entered value into Columns field
  • Press OK -> another error is shown in console
    'this.$nodeName' is null or not an object (line 16) (ckeditor.js)
    

The table shrinked to a small point (result on second screen)

Attachments (2)

krst_15.31.15.png (38.2 KB) - added by Krzysztof Studnik 14 years ago.
krst_15.41.14.png (5.6 KB) - added by Krzysztof Studnik 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by Krzysztof Studnik

Attachment: krst_15.31.15.png added

comment:1 Changed 14 years ago by Krzysztof Studnik

Description: modified (diff)

Changed 14 years ago by Krzysztof Studnik

Attachment: krst_15.41.14.png added

comment:2 Changed 14 years ago by Garry Yao

Resolution: fixed
Status: newclosed

Expired on trunk.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy