Roo/form/ComboCheck.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 2 Sep 2011 05:08:51 +0000 (13:08 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 2 Sep 2011 05:08:51 +0000 (13:08 +0800)
Roo/form/ComboCheck.js

index 6945e45..894c216 100644 (file)
@@ -73,6 +73,16 @@ Roo.extend(Roo.form.ComboCheck, Roo.form.ComboBox, {
          
         
     },
+    onViewClick : function(doFocus){
+        return;//
+        var index = this.view.getSelectedIndexes()[0];
+        var r = this.store.getAt(index);
+        if(r){
+            this.onSelect(r, index);
+        }
+        if(doFocus !== false && !this.blockFocus){
+            this.el.focus();
+        }
+    },
  
 });
\ No newline at end of file