From 6df7b734e75e60ff2c4035b090efdf3a74972e46 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 15 Jan 2009 19:14:07 -0800 Subject: [PATCH] Fix for another IE 6 error. --- static/js/Editor.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/Editor.js b/static/js/Editor.js index afc6b88..7a9d231 100644 --- a/static/js/Editor.js +++ b/static/js/Editor.js @@ -1032,7 +1032,9 @@ Editor.prototype.shutdown = function( event ) { if ( this.iframe ) { var iframe = this.iframe; - this.iframe = null; + // keeping a reference to the iframe allows removeElement( editor_node ) below to work in IE 6 + if ( !MSIE6 ) + this.iframe = null; disconnectAll( this ); disconnectAll( this.delete_button ); disconnectAll( this.changes_button );