fix store error on invalid json
[roojs1] / Roo / data / Store.js
index bd2f013..4d891f9 100644 (file)
@@ -378,7 +378,8 @@ Roo.extend(Roo.data.Store, Roo.util.Observable, {
     // private
     // Called as a callback by the Reader during a load operation.
     loadRecords : function(o, options, success){
-        if(!o || success === false){
+         
+        if(!o){
             if(success !== false){
                 this.fireEvent("load", this, [], options, o);
             }