From 72c485a79920622083f2b7654de04ca8a16f2db1 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 22 Jan 2009 13:19:40 -0800 Subject: [PATCH] Not doing a blindUp() on an editor's iframe unless it actually has one. --- static/js/Editor.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/js/Editor.js b/static/js/Editor.js index 9a6aa71..ece7609 100644 --- a/static/js/Editor.js +++ b/static/js/Editor.js @@ -1094,6 +1094,10 @@ Editor.prototype.shutdown = function( event ) { removeElement( div ); } catch ( e ) { } } } ); + + if ( !iframe ) + return; + blindUp( iframe, options = { "duration": 0.25, afterFinish: function () { try { if ( iframe )