0 Replies Latest reply on May 21, 2006 10:25 AM by erkie

    Multiple JavaScript errors on Flex LiveDocs pages

    erkie
      The newest beta 3 livedocs don't work properly with Opera 8.5 and Opera 9 browsers.

      Most annoying being Show/Hide Inherited... links not working properly. As it stands, livedocs are quite unusable in Opera :-(

      Some errors from JS console:
      quote:

      All Packages (Flex 2.0 ActionScript and MXML Language Reference)
      http://livedocs.macromedia.com/labs/1/flex20beta3/langref/package-summary.html
      Inline script thread
      Error:
      name: TypeError
      message: Statement on line 142: Could not convert undefined or null to object
      Backtrace:
      Line 142 of linked script http://livedocs.macromedia.com/labs/1/flex20beta3/langref/asdoc.js
      (findTitleTableObject("packageUseBar")).style.display = showPackageUse && showExamples ? "inline" : "none";
      Line 3 of inline#2 script in http://livedocs.macromedia.com/labs/1/flex20beta3/langref/package-summary.html
      titleBar_setSubTitle("All Packages");
      titleBar_setSubNav(false, false, false, false, false, false, false, false, false, false, false,

      quote:

      mx.logging.AbstractTarget (Flex 2.0 ActionScript and MXML Language Reference)
      http://livedocs.macromedia.com/labs/1/flex20beta3/langref/mx/logging/AbstractTarget.html
      Inline script thread
      Error:
      name: TypeError
      message: Statement on line 198: Could not convert undefined or null to object
      Backtrace:
      Line 198 of linked script http://livedocs.macromedia.com/labs/1/flex20beta3/langref/asdoc.js
      var rules = document.styleSheets[0].cssRules != undefined ? document.styleSheets[0].cssRules : document.styleSheets[0].rules;
      Line 186 of linked script http://livedocs.macromedia.com/labs/1/flex20beta3/langref/asdoc.js
      setInheritedVisible(getCookie("showInheritedConstant") == "true", "Constant");
      Line 3 of inline#3 script in http://livedocs.macromedia.com/labs/1/flex20beta3/langref/mx/logging/AbstractTarget.html
      showHideInherited();