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.3.1 - Released 11/30/2010
[extjs.git]
/
src
/
data
/
ArrayReader.js
diff --git
a/src/data/ArrayReader.js
b/src/data/ArrayReader.js
index
5719362
..
4a2ec6d
100644
(file)
--- a/
src/data/ArrayReader.js
+++ b/
src/data/ArrayReader.js
@@
-1,8
+1,8
@@
/*!
/*!
- * Ext JS Library 3.
1.0
- * Copyright(c) 2006-20
09 Ext JS, LLC
- * licensing@
extjs
.com
- * http://www.
extjs
.com/license
+ * Ext JS Library 3.
3.1
+ * Copyright(c) 2006-20
10 Sencha Inc.
+ * licensing@
sencha
.com
+ * http://www.
sencha
.com/license
*/
/**
* @class Ext.data.ArrayReader
*/
/**
* @class Ext.data.ArrayReader
@@
-58,6
+58,7
@@
Ext.data.ArrayReader = Ext.extend(Ext.data.JsonReader, {
recordType = this.recordType,
fields = recordType.prototype.fields,
records = [],
recordType = this.recordType,
fields = recordType.prototype.fields,
records = [],
+ success = true,
v;
var root = this.getRoot(o);
v;
var root = this.getRoot(o);
@@
-86,8
+87,15
@@
Ext.data.ArrayReader = Ext.extend(Ext.data.JsonReader, {
totalRecords = v;
}
}
totalRecords = v;
}
}
+ if(s.successProperty){
+ v = this.getSuccess(o);
+ if(v === false || v === 'false'){
+ success = false;
+ }
+ }
return {
return {
+ success : success,
records : records,
totalRecords : totalRecords
};
records : records,
totalRecords : totalRecords
};