projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e910525
)
Roo/bootstrap/LayoutMasonry.js
author
Alan Knowles
<alan@roojs.com>
Tue, 20 Oct 2015 09:54:04 +0000
(17:54 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 20 Oct 2015 09:54:04 +0000
(17:54 +0800)
Roo/bootstrap/LayoutMasonry.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/LayoutMasonry.js
b/Roo/bootstrap/LayoutMasonry.js
index
6300fc4
..
e6f53a2
100644
(file)
--- a/
Roo/bootstrap/LayoutMasonry.js
+++ b/
Roo/bootstrap/LayoutMasonry.js
@@
-107,7
+107,7
@@
Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, {
reloadItems: function()
{
this.bricks = this.el.select('.masonry-brick', true);
- this.bricks.on('resize',
this.layout
, this); // risky - might result in infinite loop.
+ this.bricks.on('resize',
function() { Roo.log("resize brick"); this.layout() }
, this); // risky - might result in infinite loop.
Roo.log(this.bricks.elements.length);
},