[richfaces-svn-commits] JBoss Rich Faces SVN: r5330 - trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Sat Jan 12 09:39:36 EST 2008
Author: vmolotkov
Date: 2008-01-12 09:39:36 -0500 (Sat, 12 Jan 2008)
New Revision: 5330
Modified:
trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
Log:
scroll handler was added
Modified: trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
===================================================================
--- trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-01-12 14:24:24 UTC (rev 5329)
+++ trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-01-12 14:39:36 UTC (rev 5330)
@@ -92,7 +92,6 @@
this.clickOnScroll = true;
}
this.comboList.isList = true;
- //this.field.focus();
} else if (Prototype.Browser.Gecko) {
if (this.comboList.getEventItem(e)) {
this.comboList.isList = true;
@@ -191,8 +190,8 @@
this.doActive();
}
- //IE only
if (this.clickOnScroll) {
+ //after clicking on scroll (IE)
this.field.focus();
this.comboList.isList = false;
this.clickOnScroll = false;
More information about the richfaces-svn-commits
mailing list