projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3efe513
)
Roo/bootstrap/Card.js
author
Alan Knowles
<alan@roojs.com>
Mon, 16 Nov 2020 07:42:38 +0000
(15:42 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 16 Nov 2020 07:42:38 +0000
(15:42 +0800)
Roo/bootstrap/Card.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Card.js
b/Roo/bootstrap/Card.js
index
a96fa90
..
bf8f192
100644
(file)
--- a/
Roo/bootstrap/Card.js
+++ b/
Roo/bootstrap/Card.js
@@
-405,10
+405,12
@@
Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, {
pos = this.getDropPoint(e, this.items[i].el.dom);
//Roo.log(this.items[i].el.dom.id);
+ var ii = cards.length;
cards.push(this.items[i]);
+
if (ctarget < 0 && pos == 'above') {
- ctarget = i
> 0 ?
i - 1 : 0;
- cpos = i > 0 ? 'below' : pos;
+ ctarget = i
i > 0 ? i
i - 1 : 0;
+ cpos = i
i
> 0 ? 'below' : pos;
}
}
if (!cards.length) {