projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
418451b
)
Roo/form/ComboBox.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 20 Sep 2010 08:56:37 +0000
(16:56 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 20 Sep 2010 08:56:37 +0000
(16:56 +0800)
Roo/form/ComboBox.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboBox.js
b/Roo/form/ComboBox.js
index
58c7b96
..
9da324b
100644
(file)
--- a/
Roo/form/ComboBox.js
+++ b/
Roo/form/ComboBox.js
@@
-999,12
+999,12
@@
Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
var k = String.fromCharCode(e.getKey()).toUpperCase();
Roo.log(k);
var match = false
- this.store.each(function(v
,r
) {
+ this.store.each(function(v) {
if (v.get(combo.displayField).substring(0,1).toUpperCase() == k) {
- match =
r
;
+ match =
this.store.indexOf(v)
;
return false;
}
- });
+ }
, this
);
if (r === false) {
return true; // no more action?
}