Ticket #2753 (closed Bug: fixed)

Opened 15 months ago

Last modified 14 months ago

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

Reported by: alfonsoml Owned by: alfonsoml
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

2753.patch Download (1.3 KB) - added by alfonsoml 15 months ago.
Proposed patch

Change History

Changed 15 months ago by alfonsoml

Proposed patch

Changed 14 months ago by martinkou

  • keywords Review+ added; Review? removed

Changed 14 months ago by alfonsoml

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to FCKeditor 2.6.4

fixed with [2860]

Note: See TracTickets for help on using tickets.