mrisen: Resolved "undefined" error message popup in Safari with AJAX iframe load

(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41966 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-15 21:57:58 +00:00
parent cff0c9186c
commit 670c9ca573

View File

@ -100,7 +100,7 @@ CMSForm.prototype = {
if(allIframes) for(i=0;i<allIframes.length;i++) {
try {
allIframes[i].contentWindow.location.href = allIframes[i].src;
} catch(er) {alert('Error in LeftAndMain_right.js CMSForm.loadNewPage(): ' + er.message);}
} catch(er) { /*alert('Error in LeftAndMain_right.js CMSForm.loadNewPage(): ' + er.message); */}
}
_TAB_DIVS_ON_PAGE = [];