Author: pyaschenko
Date: 2011-01-21 08:01:41 -0500 (Fri, 21 Jan 2011)
New Revision: 21146
Modified:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputBase.js
Log:
http://jira.jboss.com/jira/browse/RF-10117
Modified:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputBase.js
===================================================================
---
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputBase.js 2011-01-21
13:01:19 UTC (rev 21145)
+++
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputBase.js 2011-01-21
13:01:41 UTC (rev 21146)
@@ -12,7 +12,7 @@
this.attachToDom();
var inputEventHandlers = {};
- inputEventHandlers["keydown"+this.namespace] = this.__keydownHandler;
+ inputEventHandlers[($.browser.opera || $.browser.mozilla ? "keypress"
: "keydown")+this.namespace] = this.__keydownHandler;
inputEventHandlers["blur"+this.namespace] = this.__blurHandler;
inputEventHandlers["change"+this.namespace] = this.__changeHandler;
inputEventHandlers["focus"+this.namespace] = this.__focusHandler;