mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
elofgren: Give location of error in the alert() that is inside a catch block in LeftAndMain?_right.js CMSForm.loadNewPage() to make debugging Safari 3 problem easier. See: http://www.silverstripe.com/google-summer-of-code-forum/flat/1982
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41920 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
be4ed16a0c
commit
271a5cc7fc
@ -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(er.message);}
|
||||
} catch(er) {alert('Error in LeftAndMain_right.js CMSForm.loadNewPage(): ' + er.message);}
|
||||
}
|
||||
|
||||
_TAB_DIVS_ON_PAGE = [];
|
||||
|
Loading…
Reference in New Issue
Block a user