Author: pyaschenko
Date: 2010-07-12 10:37:10 -0400 (Mon, 12 Jul 2010)
New Revision: 17956
Modified:
root/ui-sandbox/inputs/trunk/combobox/src/main/resources/META-INF/resources/org.richfaces/ComboBox.js
root/ui-sandbox/inputs/trunk/combobox/src/main/resources/META-INF/resources/org.richfaces/SelectBase.js
Log:
https://jira.jboss.org/browse/RF-8875
Modified:
root/ui-sandbox/inputs/trunk/combobox/src/main/resources/META-INF/resources/org.richfaces/ComboBox.js
===================================================================
---
root/ui-sandbox/inputs/trunk/combobox/src/main/resources/META-INF/resources/org.richfaces/ComboBox.js 2010-07-12
14:14:09 UTC (rev 17955)
+++
root/ui-sandbox/inputs/trunk/combobox/src/main/resources/META-INF/resources/org.richfaces/ComboBox.js 2010-07-12
14:37:10 UTC (rev 17956)
@@ -225,25 +225,6 @@
scrollToSelectedItem.call(this);
!noAutoFill && autoFill.call(this, this.inputValue,
this.getSelectedItemValue());
},
-
- // value - string or index number
- /*setInputValue: function (value) {
- var type = typeof value;
- var input = rf.getDomElement(this.fieldId);
-
- if (type == "string") {
- this.inputValue = value;
- $super.setInputValue.call(this, value);
- } else {
- if (type != "number") {
- value = this.index;
- }
- if (value >=0 && value < this.items.length) {
- this.inputValue = getData(this.items.eq(this.index))[0];
- $super.setInputValue.call(this, this.inputValue);
- }
- }
- },*/
selectPrevItem: function () {
this.selectItem(-1, true);
Modified:
root/ui-sandbox/inputs/trunk/combobox/src/main/resources/META-INF/resources/org.richfaces/SelectBase.js
===================================================================
---
root/ui-sandbox/inputs/trunk/combobox/src/main/resources/META-INF/resources/org.richfaces/SelectBase.js 2010-07-12
14:14:09 UTC (rev 17955)
+++
root/ui-sandbox/inputs/trunk/combobox/src/main/resources/META-INF/resources/org.richfaces/SelectBase.js 2010-07-12
14:37:10 UTC (rev 17956)
@@ -202,9 +202,9 @@
this.hide();
return false;
break;
- /*case rf.KEYS.ESC:
+ case rf.KEYS.ESC:
this.hide();
- break;*/
+ break;
default:
if (!this.options.selectOnly) {
var _this = this;