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

index 7c315ac..011bbbf 100644 (file)
@@ -936,7 +936,7 @@ Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
         Roo.get(document).un('mousedown', this.collapseIf, this);
         Roo.get(document).un('mousewheel', this.collapseIf, this);
         if (!this.editable) {
-            Roo.get(document).un('keypress', this.listKeyPress, this);
+            Roo.get(document).un('keydown', this.listKeyPress, this);
         }
         this.fireEvent('collapse', this);
     },