Partial Fix #5654 - roojspacker - get it working as a doc tool...
[roojs1] / Roo / data / MemoryProxy.js
index 241c570..ac626fb 100644 (file)
@@ -46,7 +46,7 @@ Roo.extend(Roo.data.MemoryProxy, Roo.data.DataProxy, {
         params = params || {};
         var result;
         try {
-            result = reader.readRecords(this.data);
+            result = reader.readRecords(params.data ? params.data :this.data);
         }catch(e){
             this.fireEvent("loadexception", this, arg, null, e);
             callback.call(scope, null, arg, false);