You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2009/06/13 06:08:52 UTC

svn commit: r784330 - /myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/navmenu/jscookmenu/resource/JSCookMenu.js

Author: lu4242
Date: Sat Jun 13 04:08:52 2009
New Revision: 784330

URL: http://svn.apache.org/viewvc?rev=784330&view=rev
Log:
TOMAHAWK-1427 Update JsCookMenu javascript to version 2.0.4

Modified:
    myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/navmenu/jscookmenu/resource/JSCookMenu.js

Modified: myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/navmenu/jscookmenu/resource/JSCookMenu.js
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/navmenu/jscookmenu/resource/JSCookMenu.js?rev=784330&r1=784329&r2=784330&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/navmenu/jscookmenu/resource/JSCookMenu.js (original)
+++ myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/navmenu/jscookmenu/resource/JSCookMenu.js Sat Jun 13 04:08:52 2009
@@ -1,5 +1,5 @@
 /*
-	JSCookMenu v2.0.3 (c) Copyright 2002-2006 by Heng Yuan
+	JSCookMenu v2.0.4 (c) Copyright 2002-2006 by Heng Yuan
 
 	http://jscook.sourceforge.net/JSCookMenu/
 
@@ -312,7 +312,7 @@
 			str += cmActionItem (item, 0, idSub, menuInfo, menuID);
 		else
 			str += cmNoClickItem (item, 0, idSub, menuInfo, menuID);
-		str += '>'
+		str += '>';
 
 		if (item[0] == _cmNoAction || item[0] == _cmNoClick)
 		{
@@ -723,7 +723,7 @@
 		menu.className = prefix + 'MainItem';
 	else
 		menu.className = prefix + 'MenuItem';
-	item.isDisabled = true;
+	item.isDisabled = false;
 }
 
 //////////////////////////////////////////////////////////////////////
@@ -1547,11 +1547,17 @@
 	return msg;
 }
 
+/* v2.0.4			1. Fixed the bug that cmEnableItem setting the wrong isDisabled value.
+					2. Fixed a missing semicolon issue.
+*/
 /* v2.0.3			1. Fix an issue with IE6 displaying menu over HTTPS connection.
 						Thanks to Paul Horton for reporting the bug and testing
-						possible solutions. */
-/* v2.0.2			1. Minor clean up and some attempts to reduce memory leak in IE. */
-/* v2.0.1			1. Disable iframe masking for IE7 since it is no longer necessary. */
+						possible solutions.
+*/
+/* v2.0.2			1. Minor clean up and some attempts to reduce memory leak in IE.
+*/
+/* v2.0.1			1. Disable iframe masking for IE7 since it is no longer necessary.
+*/
 /* v2.0				1. improves the way handling flash/iframe/select boxes in IE
 						and firefox and Opera 9.  Hiding these elements is no
 						longer necessary.  For older versions of Opera, flash/iframe