callback : this.loadResponse,
scope: this
};
- if (this.timeout) {
- o.timeout = this.timeout;
- }
if(this.useAjax){
Roo.applyIf(o, this.conn);
if(this.activeRequest){
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.responseText
+ }
+
+ }, o.request.arg, false);
return;
}