projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e0a016
)
Roo/bootstrap/LayoutMasonry.js
author
john
<john@roojs.com>
Thu, 14 Dec 2017 10:27:50 +0000
(18:27 +0800)
committer
john
<john@roojs.com>
Thu, 14 Dec 2017 10:27:50 +0000
(18:27 +0800)
Roo/bootstrap/LayoutMasonry.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/LayoutMasonry.js
b/Roo/bootstrap/LayoutMasonry.js
index
395d58a
..
24be7fd
100644
(file)
--- a/
Roo/bootstrap/LayoutMasonry.js
+++ b/
Roo/bootstrap/LayoutMasonry.js
@@
-1289,9
+1289,10
@@
Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, {
getSelected : function()
{
-
for (var i=0; i<this.bricks.length; i++
) {
-
Roo.log(this.bricks[i])
;
+
if (!this.selectedBrick
) {
+
return false
;
}
+ return this.selectedBrick;
}
});