roojs-debug.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 2 Sep 2011 08:10:46 +0000 (16:10 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 2 Sep 2011 08:10:46 +0000 (16:10 +0800)
roojs-debug.js

index e1f1353..a85539f 100644 (file)
@@ -43512,7 +43512,7 @@ Roo.extend(Roo.form.ComboCheck, Roo.form.ComboBox, {
         
     },
     select: function () {
-        Roo.log("SELECT CALLED");
+        //Roo.log("SELECT CALLED");
     },
      
     selectByValue : function(xv, scrollIntoView){
@@ -43536,9 +43536,13 @@ Roo.extend(Roo.form.ComboCheck, Roo.form.ComboBox, {
     
     
     onSelect : function(record, index){
-        Roo.log("onselect Called");
+       // Roo.log("onselect Called");
        // this is only called by the clear button now..
-       this.view.clearSelections();
+        this.view.clearSelections();
+        this.setValue('[]');
+        if (this.value != this.valueBefore) {
+            this.fireEvent('change', this, this.value, this.valueBefore);
+        }
     },
     getValueArray : function()
     {