You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Vladimir Vilinski (JIRA)" <de...@myfaces.apache.org> on 2008/10/29 16:23:44 UTC
[jira] Created: (TOMAHAWK-1366) _cmItemList[index].isDisabled is
null or not object
_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.
[jira] Commented: (TOMAHAWK-1366) _cmItemList[index].isDisabled is
null or not object
Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TOMAHAWK-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645362#action_12645362 ]
Leonardo Uribe commented on TOMAHAWK-1366:
------------------------------------------
Sounds reasonable the checking but the question is when this behavior happens? We can't apply a change before know why we should do it or the reasons to this occur.
> _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.