Author: vmolotkov
Date: 2008-05-08 08:57:21 -0400 (Thu, 08 May 2008)
New Revision: 8495
Modified:
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
Log:
http://jira.jboss.com/jira/browse/RF-3324
Modified:
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
===================================================================
---
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-05-08
12:55:25 UTC (rev 8494)
+++
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-05-08
12:57:21 UTC (rev 8495)
@@ -125,16 +125,15 @@
},
listMousedownHandler : function(e) {
- if (Prototype.Browser.IE) {
- if (!this.comboList.getEventItem(e)) {
- this.clickOnScroll = true;
- }
- this.comboList.isList = true;
- } else if (Prototype.Browser.Gecko) {
+ //TODO:fix it
+ if (Prototype.Browser.Gecko) {
if (this.comboList.getEventItem(e)) {
this.comboList.isList = true;
}
} else {
+ if (!this.comboList.getEventItem(e)) {
+ this.clickOnScroll = true;
+ }
this.comboList.isList = true;
}
},