on 10-23-2007 9:28 AM
Hi all!
We patched out portals (NW Workplace) from SPS 9 to 13 recently and find that automatic iview height is no longer working with firefox.
With help of a javascript debugger I located the bug in pagesupport.js:
SPS 9 (call of window.frames[] with correct parameter frame name)
pageSupport._getContentWindow = function ( ivuFrameObj) {
try
{
return window.frames[ivuFrameObj.name];
}
catch(e){return null;}
}
SPS 13 (call of window.frames[] with wrong parameter frame id)
pageSupport._getContentWindow = function ( ivuFrameObj) {
try
{
return window.frames[ivuFrameObj.id];
}
catch(e){return null;}
}
Firefox does not support window.frames[id] since it is not part of official W3C DOM.
I already opened a SAP OSS call and asked for a hotfix or patch to resolve this bug.
Regards,
Jürgen Wahlmann
Alright, after several ping-pongs SAP provided me with a fixed pagebuilder.par which solves the problem.
This fix will be in the next patch of the NW Portal.
If you can't wait for the patch and have the same issue, either open an OSS call to SAP requesting the fix or include the following Javascript in your framework pages after pagesupport.js has been loaded:
pageSupport._getContentWindow = function ( ivuFrameObj) {
try
{
return ivuFrameObj.contentWindow; //Works both for Firefox and IE
//return window.frames[ivuFrameObj.id];
}
catch(e){return null;}
}
This overloads the faulty script function and enables Firefox to automaticly resize IView-Iframes.
Regards,
Jürgen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.