Roo/bootstrap/ComboBox.js
authoredward <edward@roojs.com>
Wed, 13 Apr 2016 04:33:44 +0000 (12:33 +0800)
committeredward <edward@roojs.com>
Wed, 13 Apr 2016 04:33:44 +0000 (12:33 +0800)
Roo/bootstrap/ComboBox.js

index 9d0469e..8541475 100644 (file)
@@ -1300,9 +1300,9 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
                 return;
             }
             Roo.log(this.tickItems);
-//            if(this.fireEvent('tick', this, r, index, Roo.get(_this.view.getNodes(index, index)[0]).select('input', true).first().dom.checked) !== false){
-//                this.tickItems.push(r.data);
-//            }
+            if(this.fireEvent('tick', this, r, index, Roo.get(_this.view.getNodes(index, index)[0]).select('input', true).first().dom.checked) !== false){
+                //this.tickItems.push(r.data);
+            }
             Roo.log(this.tickItems);
             if(typeof(e) == 'undefined' && view == false){
                 Roo.get(_this.view.getNodes(index, index)[0]).select('input', true).first().dom.checked = true;