git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 3.1.1 - Released 02/08/2010
[extjs.git]
/
docs
/
source
/
HttpProxy.html
diff --git
a/docs/source/HttpProxy.html
b/docs/source/HttpProxy.html
index
5ae9fa8
..
8b0624c
100644
(file)
--- a/
docs/source/HttpProxy.html
+++ b/
docs/source/HttpProxy.html
@@
-173,7
+173,7
@@
Ext.extend(Ext.data.HttpProxy, Ext.data.DataProxy, {
} else {
\r
this.onWrite(action, o, response, rs);
\r
}
\r
} else {
\r
this.onWrite(action, o, response, rs);
\r
}
\r
- }
\r
+ }
;
\r
},
\r
\r
<div id="method-Ext.data.HttpProxy-onRead"></div>/**
\r
},
\r
\r
<div id="method-Ext.data.HttpProxy-onRead"></div>/**
\r
@@
-235,10
+235,10
@@
Ext.extend(Ext.data.HttpProxy, Ext.data.DataProxy, {
o.request.callback.call(o.request.scope, null, o.request.arg, false);
\r
return;
\r
}
\r
o.request.callback.call(o.request.scope, null, o.request.arg, false);
\r
return;
\r
}
\r
- if (res.success === false) {
\r
- this.fireEvent('exception', this, 'remote', action, o, res, rs);
\r
- } else {
\r
+ if (res.success === true) {
\r
this.fireEvent('write', this, action, res.data, res, rs, o.request.arg);
\r
this.fireEvent('write', this, action, res.data, res, rs, o.request.arg);
\r
+ } else {
\r
+ this.fireEvent('exception', this, 'remote', action, o, res, rs);
\r
}
\r
// TODO refactor onRead, onWrite to be more generalized now that we're dealing with Ext.data.Response instance
\r
// the calls to request.callback(...) in each will have to be made similar.
\r
}
\r
// TODO refactor onRead, onWrite to be more generalized now that we're dealing with Ext.data.Response instance
\r
// the calls to request.callback(...) in each will have to be made similar.
\r