projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0768c3
)
Roo/bootstrap/MasonryBrick.js
author
john
<john@roojs.com>
Mon, 11 Dec 2017 07:21:03 +0000
(15:21 +0800)
committer
john
<john@roojs.com>
Mon, 11 Dec 2017 07:21:03 +0000
(15:21 +0800)
Roo/bootstrap/MasonryBrick.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/MasonryBrick.js
b/Roo/bootstrap/MasonryBrick.js
index
a0d31c8
..
71dfe26
100644
(file)
--- a/
Roo/bootstrap/MasonryBrick.js
+++ b/
Roo/bootstrap/MasonryBrick.js
@@
-475,9
+475,13
@@
Roo.extend(Roo.bootstrap.MasonryBrick, Roo.bootstrap.Component, {
if (!this.parentId) {
return;
}
+ /*
Roo.log(this.parentId);
var m = Roo.get(this.parentId);
var index = m.selectedBrick.indexOf(this.id);
+ */
+ var m = this.parent;
+ var index = m.selectedBrick.indexOf(this.id);
if ( index > -1) {
this.removeClass(this.activeClass);