X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-ui-debug.js;h=eba698ece07839264386b8ecbd09174b31aebfd0;hp=9d46cd04c74edd9e4a3c3d8c7d90398b7dc734e2;hb=7b770e19f0127e27b8f5f548a159460c74711c5c;hpb=8b467d1db070bca721c8b44da557146cb3dbcc82 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 9d46cd04c7..eba698ece0 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -712,7 +712,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); } @@ -1564,7 +1565,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; }