Removing a table in source mode can lead to errors in IE
|Reported by:||alfonsoml||Owned by:||alfonsoml|
|Keywords:||Confirmed IE Review+||Cc:|
- 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.