Author: abelevich
Date: 2008-03-31 13:36:31 -0400 (Mon, 31 Mar 2008)
New Revision: 7492
Modified:
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
Log:
http://jira.jboss.com/jira/browse/RF-2792
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-03-31
17:24:08 UTC (rev 7491)
+++
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-03-31
17:36:31 UTC (rev 7492)
@@ -71,10 +71,18 @@
buttonClickHandler : function(e) {
this.tempKeeperClickHandler();
this.tempValueKeeper.focus();
+ this.button.isClicked = true;
Event.stop(e);
},
tmpValueBlurHandler : function($super, event) {
+
+ if (this.button.isClicked) {
+ // click on arrow under IE
+ this.button.isClicked = false;
+ return;
+ }
+
if (this.clickOnScroll) {
//click on scroll under IE
this.clickOnScroll = false;