Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1366

_cmItemList[index].isDisabled is null or not object

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 1.1.7
    • None
    • JS Cook Menu
    • None
    • Linux Tomcat 5.5.03
      Internet Explorer 7, Windows XP SP3

    Description

      Could not click at any Menu Items.
      Error "_cmItemList[index].isDisabled is null or not object" by MouseUp over Menu.

      Corrected by checking _cmItemList == null in MyFacesHack.js

      Example:

      function cmItemMouseUp (obj, isMain, idSub, menuID, index)
      {
      if (_cmItemList == null) // Check _cmItemList is not null
      return;

      if (_cmItemList[index].isDisabled)
      return;

      var item = _cmItemList[index];

      var link = null, target = '_self';

      ................

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            viliman Vladimir Vilinski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: