mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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
This commit is contained in:
parent
4d4f2ce0a4
commit
69f8bc52ea
@ -253,7 +253,7 @@
|
|||||||
// Prepare iframes for removal, otherwise we get loading bugs
|
// Prepare iframes for removal, otherwise we get loading bugs
|
||||||
this.find('iframe').each(function() {
|
this.find('iframe').each(function() {
|
||||||
this.contentWindow.location.href = 'about:blank';
|
this.contentWindow.location.href = 'about:blank';
|
||||||
this.remove();
|
$(this).remove();
|
||||||
});
|
});
|
||||||
|
|
||||||
// update form content
|
// update form content
|
||||||
|
Loading…
Reference in New Issue
Block a user