X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-debug.js;h=f2024bc9e9a6357ec5fc8d72cae92f7bcf38a1a6;hp=1da9e5b854d7dbb8a716150f8d019a1f3944cbf8;hb=7b770e19f0127e27b8f5f548a159460c74711c5c;hpb=8b467d1db070bca721c8b44da557146cb3dbcc82 diff --git a/roojs-debug.js b/roojs-debug.js index 1da9e5b854..f2024bc9e9 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -23877,7 +23877,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); } @@ -24729,7 +24730,13 @@ Roo.extend(Roo.data.HttpProxy, Roo.data.DataProxy, { result = o.reader.read(response); }catch(e){ this.fireEvent("loadexception", this, o, response, e); - o.request.callback.call(o.request.scope, null, o.request.arg, false); + o.request.callback.call(o.request.scope, { + success : false, + raw : { + errorMsg : response + } + + }, o.request.arg, false); return; }