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

index 30d4071..bff915c 100644 (file)
@@ -396,10 +396,12 @@ Roo.extend(Roo.View, Roo.util.Observable, {
      * onbeforeLoad - masks the loading area.
      *
      */
-    onBeforeLoad : function(a,b,c,d)
+    onBeforeLoad : function(store,opts)
     {
-        Roo.log([a,b,c,d]);
-        this.el.update("");
+        
+        if (!opts.add) {
+            this.el.update("");
+        }
         this.el.mask(this.mask ? this.mask : "Loading" ); 
     },
     onLoad : function ()