[mapguide-users] Re: Scalebar: TypeError, Fusion Error, and NS_ERROR_DOM_INVALID_ACCESS_ERR

Jamo adam.jamison at portbris.com.au
Thu Nov 10 19:03:56 EST 2011


ok your right it was becuase I was in debug mode, strange thing is it also
works if you place an alert box before "if (document.styleSheets) {" in
Scalebar.js strange....

If it's still not working I've managed to sort of get it working not sure
why it works but it does.

modify scalebartool.js

enclose the following in a try catch statement.

and in the catch put return 0;

-Jamo

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Scalebar-TypeError-Fusion-Error-and-NS-ERROR-DOM-INVALID-ACCESS-ERR-tp6917184p6983899.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list