[richfaces-svn-commits] JBoss Rich Faces SVN: r4916 - trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Wed Dec 19 07:49:20 EST 2007
Author: sergeyhalipov
Date: 2007-12-19 07:49:19 -0500 (Wed, 19 Dec 2007)
New Revision: 4916
Modified:
trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js
Log:
http://jira.jboss.com/jira/browse/RF-1078
Comments added.
Modified: trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js
===================================================================
--- trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js 2007-12-19 12:43:53 UTC (rev 4915)
+++ trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js 2007-12-19 12:49:19 UTC (rev 4916)
@@ -36,8 +36,11 @@
}
}
+ // The best over the world browser IE6 thinks that we stop holding
+ // a left mouse button when cursor is over <select> elements.
+ // So we have to not stop dragging if Event.isLeftClick() returns false.
if (this.mouseMoveProvidesButton && !Event.isLeftClick(event) &&
- RichFaces.navigatorType() != RichFaces.MSIE) {
+ RichFaces.getIEVersion() != 6) {
this.endDrag(event);
}
}
More information about the richfaces-svn-commits
mailing list