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

index 4b7cd24..8204faf 100644 (file)
@@ -577,7 +577,6 @@ Roo.extend(Roo.View, Roo.util.Observable, {
      * @param {Boolean} suppressEvent (optional) true to skip firing of the selectionchange vent
      */
     select : function(nodeInfo, keepExisting, suppressEvent){
-        Roo.log('running Roo.View select!!!!!!!!!!!!!!!!!!!!!!1');
         if(nodeInfo instanceof Array){
             if(!keepExisting){
                 this.clearSelections(true);
@@ -595,13 +594,6 @@ Roo.extend(Roo.View, Roo.util.Observable, {
             this.clearSelections(true);
         }
         
-        Roo.log(this.parent);
-//        Roo.log(this.list);
-//        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);