View Full Version : Javascript error - um is not defined

11-14-2007, 05:31 AM

We have just implemented udm onto our website. Everything is going fine, however with the Firefox web developer toolbar we are occassionally getting a javascript error. In spite of the error, our menus are working without a problem. The error only appears after you roll over the menus (and then, only randomly), and there is no particular page where the error does occur.

Errors are -
'um in not defined' udm-dom.js line 10.

'm has no properties' udm-dom.js line 10 (which then gets into a loop).

'document.defaultView has no properties' udm-dom.js line 10.

Has anyone come across this problem before? Unfortunately I cannot post a link to the site, as it is in development at the moment.

Linda Simpson

11-18-2007, 09:11 PM

Our website will be going live shortly, and we wanted to solve this problem before we went live. If no one has seen the error before, are there any suggestions as to what the issue might be?

I have replaced the udm-dom.js file a couple of times with the original download, so I'm fairly sure that it isn't a corrupt file and we aren't using any extensions at this time.

Could it be a problem that we have to encode using utf-8?

Any help/ suggestions that can be provided would be appreciated.


11-19-2007, 04:02 PM
I haven't run into this myself, but one thing I can suggest is that you validate (http://validator.w3.org/) your web page. Many times, you will get errors because your HTML isn't well-formed. The above tool will tell you if that is at least part of your problem.

11-19-2007, 04:52 PM
Another possible problem would be if you have the paths to your javasript files incorrect. If the udm-custom, udm-control etc don't load.

I'd check those as well.

11-19-2007, 10:01 PM
Thanks for the tips. We thought everything was valid, but after another check, there were a few problems.

We've checked the path name to the js files - which are all fine, and the site is now XHTML compliant again.

Would this be the sort of error you would get if you tried to use the flyouts if the page hadn't fully loaded? Not that our site is that large, but the nav list is pretty large.