From 69f8bc52eadaaaa2f04f11da1ac474b0d2fd4411 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 21 Nov 2009 03:18:04 +0000 Subject: [PATCH] BUGFIX Fixed iframe removal javascript in LeftAndMain.EditForm.js git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92780 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- javascript/LeftAndMain.EditForm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/LeftAndMain.EditForm.js b/javascript/LeftAndMain.EditForm.js index b7da49ee..22355466 100644 --- a/javascript/LeftAndMain.EditForm.js +++ b/javascript/LeftAndMain.EditForm.js @@ -253,7 +253,7 @@ // Prepare iframes for removal, otherwise we get loading bugs this.find('iframe').each(function() { this.contentWindow.location.href = 'about:blank'; - this.remove(); + $(this).remove(); }); // update form content