_cmItemList[index].isDisabled is null or not object
---------------------------------------------------

                 Key: TOMAHAWK-1366
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1366
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: JS Cook Menu
    Affects Versions: 1.1.7
         Environment: Linux Tomcat 5.5.03
Internet Explorer 7, Windows XP SP3
            Reporter: Vladimir Vilinski


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';


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


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to