Map fails to load in front end
-
Map fails to load, grey background shown. Works fine on back end. Code inspector reveals JS error here:
XML Parser could not be instantiated
Which traces back here:
// Convert text to XML DOM text2xml: function(str) { // NOTE: I'd like to use jQuery for this, but jQuery makes all tags uppercase //return $(xml)[0]; var out; try{ var xml = (jQuery.browser.msie)?new ActiveXObject("Microsoft.XMLDOM"):new DOMParser(); xml.async = false; }catch(e){ throw new Error("XML Parser could not be instantiated") }; try{ if(jQuery.browser.msie) out = (xml.loadXML(str))?xml:false; else out = xml.parseFromString(str, "text/xml"); }catch(e){ throw new Error("Error parsing XML string") }; return out; }
…but I can’t figure out why. Anyone have a suggestion?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Map fails to load in front end’ is closed to new replies.