[richfaces-svn-commits] JBoss Rich Faces SVN: r11686 - trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Tue Dec 9 17:14:41 EST 2008


Author: nbelaevski
Date: 2008-12-09 17:14:40 -0500 (Tue, 09 Dec 2008)
New Revision: 11686

Modified:
   trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-item.js
Log:
https://jira.jboss.org/jira/browse/RF-4489

Modified: trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-item.js
===================================================================
--- trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-item.js	2008-12-09 22:14:20 UTC (rev 11685)
+++ trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-item.js	2008-12-09 22:14:40 UTC (rev 11686)
@@ -366,7 +366,9 @@
 				   		/^(input|select|option|button|textarea)$/i.test(src.tagName))
 							return;
 
-					Event.stop(e);
+					if (this.isDragEnabled()) {
+						Event.stop(e);
+					}
 				} else {
 					//do not process non-left clicks
 					return ;




More information about the richfaces-svn-commits mailing list