[Fusionforge-commits] r8757 - trunk/gforge/www/jscook

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Tue Feb 9 13:25:10 CET 2010


Author: nerville
Date: 2010-02-09 13:25:10 +0100 (Tue, 09 Feb 2010)
New Revision: 8757

Modified:
   trunk/gforge/www/jscook/JSCookTree.js
Log:
fix expand display : thk antoine

Modified: trunk/gforge/www/jscook/JSCookTree.js
===================================================================
--- trunk/gforge/www/jscook/JSCookTree.js	2010-02-09 12:24:07 UTC (rev 8756)
+++ trunk/gforge/www/jscook/JSCookTree.js	2010-02-09 12:25:10 UTC (rev 8757)
@@ -180,7 +180,7 @@
 		return;
 	var i;
 	var item;
-	for (i = 0; i < subMenu.ctItems.length; ++i)
+	for (i = 0; subMenu.ctItems && i < subMenu.ctItems.length; ++i)
 	{
 		item = subMenu.ctItems[i];
 		if (item.ctIdSub)




More information about the Fusionforge-commits mailing list