IE 8 Home page javascript error

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
1/7/2011 4:04:49 AM
Gravatar
Total Posts 17

IE 8 Home page javascript error

Hi,

Windows 7, PostGres, latest (from source control, updated today)

I can only reproduce this error in IE 8.0. 

When open site, Home,  a javascrit error is showed in line 8...

Line: 8
Error: Object required

Source code from IE developer toolbar

if (!window.Sys) { window.Sys = {}; }

if (!Sys.WebForms) { Sys.WebForms = {}; }
Sys.WebForms.Menu = function(options) {
    this.items = [];
    this.depth = options.depth || 1;
    this.parentMenuItem = options.parentMenuItem;
    this.element = Sys.WebForms.Menu._domHelper.getElement(options.element);
    if (this.element.tagName === 'DIV') {     -----> line 8

the parameter options  is not null;

 options.element is "ctl01_SiteMenu1_ctl00", but  Sys.WebForms.Menu._domHelper.getElement(options.element), returns null 

Thanks 

 

 

1/7/2011 9:28:32 AM
Gravatar
Total Posts 2253

Re: IE 8 Home page javascript error

Hi Joe,

I saw the same thing on the demo site with the artisteer-30topmenu skin. I didn't try others.

Is this related to .NET 4's screwy Menu JavaScript?

Thanks,
Joe D.

1/7/2011 10:40:55 AM
Gravatar
Total Posts 18439

Re: IE 8 Home page javascript error

This is now fixed in the source code repository and on the demo site. It was a bug in our custom menu for Artisteer (yes related to issues with ASP.NET menu javascript).

Thanks,

Joe

12/11/2011 9:05:43 PM
Gravatar
Total Posts 5

Re: IE 8 Home page javascript error

I am seeing this in IE 9 in the two mojoportal sites (one launched, one about to launch) with source code that was certainly downloaded after this post. It's obviously horking up in the asp.net menu script. Really don't want to upgrade, etc. Would you be able to point me in the direction of the fix I can make? Am using source code and custom code.

You must sign in to post in the forums. This thread is closed to new posts.