Author: artdaw
Date: 2009-03-30 19:18:08 -0400 (Mon, 30 Mar 2009)
New Revision: 13312
Modified:
trunk/ui/colorPicker/src/main/resources/org/richfaces/renderkit/html/scripts/ui.colorpicker.js
Log:
https://jira.jboss.org/jira/browse/RF-6645 - hex field was fixed
Modified:
trunk/ui/colorPicker/src/main/resources/org/richfaces/renderkit/html/scripts/ui.colorpicker.js
===================================================================
---
trunk/ui/colorPicker/src/main/resources/org/richfaces/renderkit/html/scripts/ui.colorpicker.js 2009-03-30
22:48:22 UTC (rev 13311)
+++
trunk/ui/colorPicker/src/main/resources/org/richfaces/renderkit/html/scripts/ui.colorpicker.js 2009-03-30
23:18:08 UTC (rev 13312)
@@ -140,7 +140,7 @@
_keyDown: function(e) {
var pressedKey = e.charCode || e.keyCode || -1;
- if ((pressedKey > this.charMin-1 && pressedKey <= 90) || pressedKey ==
32) {
+ if ((pressedKey > this.charMin && pressedKey <= 90) || pressedKey == 32)
{
return false;
}
},