Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
55
UltraWebMenu/UltraWebNavigator v6.3 broken in FireFox 4
posted

Hello,

Please help.  We are a small development team and do not wish to upgrade to a new framework at this moment (we really just need a quick fix until we get caught up on other things.)

The problem is the UltraWebMenu breaks in FireFox 4 beta.  The sub-menu items do not appear, and when looking at the Error Console - this error is generated on MouseOver and MouseClick:

Error: subMenu.runtimeStyle is undefined
Line: 375

Is there ANYTHING I can do?  Please help.  Here is the Assembly info:

Assembly="Infragistics2.WebUI.UltraWebNavigator.v6.3, Version=6.3.20063.1059,

Parents
  • 345
    Suggested Answer
    posted

    I posted a reply, not sure if you got it as this is the Suggest an answer section. I've pasted it again.

    We had the issue with the v9.2 menu. Here's all you have to do. In you main JavaScript file that runs before any Infragistics JS add this:

     

    // FireFox 4 deprecated runtimeStyle. The Infragistics menu that we use for the top of classic view was using this.

    // This might also fix other bugs in FireFox 4 for Infragistics code that used runtimeStyle for FireFox.

    if ($.browser.mozilla && parseInt($.browser.version, 0) > 3) {

        HTMLElement.prototype.__defineGetter__("runtimeStyle", function() {

            //# this doesn't work yet (https://bugzilla.mozilla.org/show_bug.cgi?id=45424)

            //# return this.ownerDocument.defaultView.getOverrideStyle(this, null);

            return this.style;

     

        });

    }

     

     

    Thank you Dean Edwards,  http://dean.edwards.name/moz-behaviors/src

Reply Children