Author: vmolotkov
Date: 2008-12-24 11:03:34 -0500 (Wed, 24 Dec 2008)
New Revision: 12010
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
Log:
//https://jira.jboss.org/jira/browse/RF-4050
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
===================================================================
---
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-12-24
15:56:36 UTC (rev 12009)
+++
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-12-24
16:03:34 UTC (rev 12010)
@@ -192,7 +192,8 @@
},
listMousedownHandler : function(event) {
- if (Prototype.Browser.IE) {
+ //https://jira.jboss.org/jira/browse/RF-4050
+ if (!Prototype.Browser.Firefox) {
if (!Element.match(event.target,"span")) {
this.clickOnScroll = true;
}
@@ -201,12 +202,13 @@
},
listMouseUpHandler : function(e) {
- if (window.getSelection) {
- if (window.getSelection().getRangeAt(0).toString() != '') {
+ //https://jira.jboss.org/jira/browse/RF-4050
+ //if (window.getSelection) {
+ //if (window.getSelection().getRangeAt(0).toString() != '') {
this.field.focus();
this.comboList.isList = false;
- }
- }
+ //}
+ //}
},
listClickHandler : function(event) {
Show replies by date