Roo/View.js
authorEdward <edward@roojs.com>
Mon, 19 May 2014 10:08:03 +0000 (18:08 +0800)
committerEdward <edward@roojs.com>
Mon, 19 May 2014 10:08:03 +0000 (18:08 +0800)
Roo/View.js

index fad2d19..fd57a63 100644 (file)
@@ -303,6 +303,7 @@ Roo.extend(Roo.View, Roo.util.Observable, {
     },
 
     onUpdate : function(ds, record){
+         Roo.log('on Add');   
         this.clearSelections();
         var index = this.store.indexOf(record);
         var n = this.nodes[index];
@@ -398,7 +399,7 @@ Roo.extend(Roo.View, Roo.util.Observable, {
      */
     onBeforeLoad : function(store,opts)
     {
-        
+         Roo.log('onBeforeLoad');   
         if (!opts.add) {
             Roo.log('clear el..');
             this.el.update("");