Opened 9 years ago

Closed 9 years ago

#2753 closed Bug (fixed)

Removing a table in source mode can lead to errors in IE

Reported by: Alfonso Martínez de Lizarrondo Owned by: Alfonso Martínez de Lizarrondo
Priority: Normal Milestone: FCKeditor 2.6.4
Component: General Version:
Keywords: Confirmed IE Review+ Cc:

Description

  • Enable the DragResizeTable plugin and add a table.
  • Then mouse over it so the plugin is initialized (show the resize bar).
  • Now switch to source mode and remove the table.
  • Then IE gives an error with "permission denied", it's trying to read the data for a node that no longer exists.

Another way to reproduce it: start dragging the resizer and move your cursor up to the toolbar and release it now. Now just switching between source and design is enough to trigger the error.

The proposed patch clears the internal variables of the plugin in the OnAfterSetHTML event and this way the errors goes away.

Attachments (1)

2753.patch (1.3 KB) - added by Alfonso Martínez de Lizarrondo 9 years ago.
Proposed patch

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Alfonso Martínez de Lizarrondo

Attachment: 2753.patch added

Proposed patch

comment:1 Changed 9 years ago by Martin Kou

Keywords: Review+ added; Review? removed

comment:2 Changed 9 years ago by Alfonso Martínez de Lizarrondo

Milestone: FCKeditor 2.6.4
Resolution: fixed
Status: newclosed

fixed with [2860]

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