projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dea0a46
)
Roo/data/SimpleStore.js
author
Alan Knowles
<alan@roojs.com>
Mon, 10 Feb 2020 04:41:27 +0000
(12:41 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 10 Feb 2020 04:41:27 +0000
(12:41 +0800)
Roo/data/SimpleStore.js
patch
|
blob
|
history
diff --git
a/Roo/data/SimpleStore.js
b/Roo/data/SimpleStore.js
index
4013928
..
9c39abf
100644
(file)
--- a/
Roo/data/SimpleStore.js
+++ b/
Roo/data/SimpleStore.js
@@
-24,9
+24,8
@@
Roo.data.SimpleStore = function(config)
{
Roo.data.SimpleStore.superclass.constructor.call(this, {
isLocal : true,
- reader: new Roo.data.ArrayReader({
- id: config.id,
- fields : config.fields
+ reader: typeof(config.reader) != 'undefined' ? config.reader : new Roo.data.ArrayReader({
+ id: config.id
},
Roo.data.Record.create(config.fields)
),