Roo/form/ComboBox.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 26 Sep 2011 03:52:49 +0000 (11:52 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 26 Sep 2011 03:52:49 +0000 (11:52 +0800)
Roo/form/ComboBox.js

index 1e85bf4..5eb111d 100644 (file)
@@ -458,6 +458,7 @@ Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
 
             "tab" : function(e){
                 this.onViewClick(false);
+                this.fireEvent("specialkey", this, e);
                 return true;
             },
 
@@ -747,7 +748,8 @@ Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
     },
 
     // private
-    onViewClick : function(doFocus){
+    onViewClick : function(doFocus)
+    {
         var index = this.view.getSelectedIndexes()[0];
         var r = this.store.getAt(index);
         if(r){