projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f477daa
)
Roo/form/ComboBox.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 20 Sep 2010 08:48:47 +0000
(16:48 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 20 Sep 2010 08:48:47 +0000
(16:48 +0800)
Roo/form/ComboBox.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboBox.js
b/Roo/form/ComboBox.js
index
3baf895
..
f8ddaba
100644
(file)
--- a/
Roo/form/ComboBox.js
+++ b/
Roo/form/ComboBox.js
@@
-996,9
+996,11
@@
Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
if (e.isSpecialKey()) {
return;
}
+ var k = String.fromCharCode(e.getKey());
+ Roo.log(k);
var match = false
this.store.each(function(v) {
- if (v.get(combo.displayField).substring(0,1)) {
+ if (v.get(combo.displayField).substring(0,1)
== k
) {
match = v.id;
return false;
}