Author: pyaschenko
Date: 2011-03-11 09:38:12 -0500 (Fri, 11 Mar 2011)
New Revision: 22166
Modified:
branches/4.0.X/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/AutocompleteBase.js
Log:
https://jira.jboss.org/browse/RF-10690
Reviewed by Nick Belaevski
Modified:
branches/4.0.X/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/AutocompleteBase.js
===================================================================
---
branches/4.0.X/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/AutocompleteBase.js 2011-03-11
14:21:26 UTC (rev 22165)
+++
branches/4.0.X/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/AutocompleteBase.js 2011-03-11
14:38:12 UTC (rev 22166)
@@ -147,26 +147,26 @@
}
break;
case rf.KEYS.PAGEUP:
- event.preventDefault();
if (this.isVisible) {
+ event.preventDefault();
this.__onPageUp(event);
}
break;
case rf.KEYS.PAGEDOWN:
- event.preventDefault();
if (this.isVisible) {
+ event.preventDefault();
this.__onPageDown(event);
}
break;
case rf.KEYS.HOME:
- event.preventDefault();
if (this.isVisible) {
+ event.preventDefault();
this.__onKeyHome(event);
}
break;
case rf.KEYS.END:
- event.preventDefault();
if (this.isVisible) {
+ event.preventDefault();
this.__onKeyEnd(event);
}
break;