projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb228f5
)
Roo/bootstrap/Table.js
author
edward
<edward@roojs.com>
Tue, 2 Jan 2018 09:09:33 +0000
(17:09 +0800)
committer
edward
<edward@roojs.com>
Tue, 2 Jan 2018 09:09:33 +0000
(17:09 +0800)
Roo/bootstrap/Table.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Table.js
b/Roo/bootstrap/Table.js
index
5ecd6e1
..
59045a6
100644
(file)
--- a/
Roo/bootstrap/Table.js
+++ b/
Roo/bootstrap/Table.js
@@
-718,11
+718,13
@@
Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component, {
// Roo.log('ds onload');
this.clear();
- this.previousStore.each(function(t){
-
- this.store.data.add(t.id, t.data);
+ if(this.previousStore){
+ this.previousStore.each(function(t){
+
+ this.store.data.add(t.id, t.data);
- }, this);
+ }, this);
+ }
var _this = this;
var cm = this.cm;