|
|
|
Re: Internet Explorer 9 not displaying BIRT 2.5 reports [message #703466 is a reply to message #703440] |
Wed, 27 July 2011 11:36   |
Eclipse User |
|
|
|
What url are you using?
I assume you can not try with 3.7?
What happens if you put an if( reportContainer.style != null ){ around
the reportContainer lines?
Jason
On 7/27/2011 11:20 AM, Brian wrote:
> Hi Jason,
>
> Yes, cookies are enabled.
> To clarify, in IE 9 I just get the "Processing, please wait..." message
> -- the report never actually renders. In other browsers, including
> earlier versions of IE the report renders fine.
>
> In IE 9, when debugging I've noticed I get a JavaScript error in this
> section of AbstractBaseReportDocument.js.
>
> if (BrowserUtility.isIE) {
> var reportContainer = this.__instance.firstChild;
>
> if (reportContainer != null) {
> var scrollBarWidth = BrowserUtility._getScrollBarWidth(reportContainer,
> width, height);
> var containerWidth = "100%";
>
> if (height < reportContainer.offsetHeight && width > scrollBarWidth) {
> containerWidth = (width - scrollBarWidth) + "px";
> }
> reportContainer.style.overflowX = "visible";
> reportContainer.style.overflowY = "visible";
> reportContainer.style.position = "relative";
> reportContainer.style.width = containerWidth;
> }
> }
>
>
> The actual error is:
> Unable to set value of the property 'overflowX': object is null or
> undefined
>
> When I toggle IE 9's Document Mode between 9 and 8 I can see that the
> type and content of reportContainer varies between the two modes.
>
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Internet Explorer 9 not displaying BIRT 2.5 reports [message #786621 is a reply to message #698547] |
Mon, 30 January 2012 11:49  |
Eclipse User |
|
|
|
I was finally able to get the following to work:
Added the following headers to my PHP script:
header('X-UA-Compatible: IE=7');
header('X-UA-Compatible: IE=EmulateIE7');
Deleted the browser cache and completely closed IE 9. Now I no longer get the JavaScript error running on IE 9.
Thanks
Shane
|
|
|
Powered by
FUDForum. Page generated in 0.05288 seconds