[richfaces-svn-commits] JBoss Rich Faces SVN: r5718 - branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Tue Jan 29 15:12:32 EST 2008


Author: nbelaevski
Date: 2008-01-29 15:12:32 -0500 (Tue, 29 Jan 2008)
New Revision: 5718

Modified:
   branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js
Log:
http://jira.jboss.com/jira/browse/RF-2112

Modified: branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js	2008-01-29 19:46:14 UTC (rev 5717)
+++ branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js	2008-01-29 20:12:32 UTC (rev 5718)
@@ -282,7 +282,7 @@
 	 */
 	selectItemGroup : function(currentItem) {
 		//FIXME
-		var activeItemIndex = this.pseudoActiveItem.rowIndex;
+		var activeItemIndex = (this.pseudoActiveItem || currentItem).rowIndex;
 		var startIndex;
 		var endIndex;
 		




More information about the richfaces-svn-commits mailing list