Roo/View.js
authorEdward <edward@roojs.com>
Wed, 22 Apr 2015 04:28:51 +0000 (12:28 +0800)
committerEdward <edward@roojs.com>
Wed, 22 Apr 2015 04:28:51 +0000 (12:28 +0800)
Roo/View.js

index 2a5ace0..b15bbaa 100644 (file)
@@ -594,6 +594,13 @@ Roo.extend(Roo.View, Roo.util.Observable, {
         if(!keepExisting){
             this.clearSelections(true);
         }
+        
+        Roo.log(this.parent);
+//        var el = this.view.getNode(index);
+//        if(el && !this.multiple && !this.tickable){
+//            this.list.scrollChildIntoView(el, false);
+//        }
+        
         if(this.fireEvent("beforeselect", this, node, this.selections) !== false){
             Roo.fly(node).addClass(this.selectedClass);
             this.selections.push(node);