on 05-02-2013 6:48 PM
Hi,
I have been trying to get MII Navigation tree to work in IE10 and IE10 compatibility mode. I keep getting the following error
SCRIPT5007: Unable to set property 'async' of undefined or null reference
lightspeed.js, line 23 character 5166
I found the problem to be the fact the Menu JavaScript functions are deprecated and no longer supported. The one in particular is .XMLDocument.
below is the area in which the js file is failing:
UCF_JsUtil.oParseXMLDocument =
function(sXMLText) {
var oXMLDocument = null;
if (window.ActiveXObject) {
var oXMLRef = document.createElement("xml");
document.body.appendChild(
oXMLRef);
oXMLDocument = oXMLRef.XMLDocument;
oXMLDocument.async = false;
oXMLDocument.loadXML(sXMLText);
document.body.removeChild(
oXMLRef);
oXMLRef.
}
if (window.DOMParser) {
var oParser = new DOMParser();
oXMLDocument = oParser.parseFromString(sXMLText, "text/xml");
}
return oXMLDocument;
};
...There is a fix to this by changing the function to use the DOMParser object that we see in the second if statement. My question : Is there a way to get to this JavaScript file and change it? I know it is part of the com.sap.ui Java package. Any help is greatly appreciated.
Thanks, Robert
Hello Robert,
Just thought of sharing it.
I also ran into same issue but I didn't get the error you are getting.
I wasn't sure how to get it to work so I built a custom navigation screen and once user logged into MII I simply redirected him to this custom navigation screen.
I am guessing the future MII patches will fix this issue.
Regards,
Adarsh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.