Roo/form/ComboBox.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 20 Sep 2010 08:35:15 +0000 (16:35 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 20 Sep 2010 08:35:15 +0000 (16:35 +0800)
Roo/form/ComboBox.js

index 3794c44..7c315ac 100644 (file)
@@ -960,7 +960,7 @@ Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
         Roo.get(document).on('mousedown', this.collapseIf, this);
         Roo.get(document).on('mousewheel', this.collapseIf, this);
         if (!this.editable) {
-            Roo.get(document).on('keypress', this.listKeyPress, this);
+            Roo.get(document).on('keydown', this.listKeyPress, this);
         }
         
         this.fireEvent('expand', this);