projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
605cbaf
)
Roo/bootstrap/Card.js
author
Alan Knowles
<alan@roojs.com>
Tue, 17 Nov 2020 06:59:57 +0000
(14:59 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 17 Nov 2020 06:59:57 +0000
(14:59 +0800)
Roo/bootstrap/Card.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Card.js
b/Roo/bootstrap/Card.js
index
4b2b3a9
..
18aa435
100644
(file)
--- a/
Roo/bootstrap/Card.js
+++ b/
Roo/bootstrap/Card.js
@@
-545,6
+545,7
@@
Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, {
var old_parent = data.source.parent();
old_parent.items = old_parent.items.filter(function(e) { return e != data.source });
+
if (this.items.length) {
var nitems = [];
for (var i =0; i < this.items; i++) {
@@
-557,6
+558,7
@@
Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, {
}
}
this.items = nitems;
+ Roo.log(this.items);
} else {
this.items.push(data.source);
}