projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18e077e
)
Roo/bootstrap/LayoutMasonry.js
author
Alan Knowles
<alan@roojs.com>
Tue, 20 Oct 2015 07:34:15 +0000
(15:34 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 20 Oct 2015 07:34:15 +0000
(15:34 +0800)
Roo/bootstrap/LayoutMasonry.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/LayoutMasonry.js
b/Roo/bootstrap/LayoutMasonry.js
index
071a4a1
..
3d3c259
100644
(file)
--- a/
Roo/bootstrap/LayoutMasonry.js
+++ b/
Roo/bootstrap/LayoutMasonry.js
@@
-79,7
+79,7
@@
Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, {
initEvents : function()
{
- this.el.on('resize', this.resize, this); /// was window resize... - let's see if this works..
+
this.on('childrenrendered', function() {
Roo.log("children rendered");
@@
-89,6
+89,10
@@
Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, {
// this.initStamp(); //???
this.currentSize = this.el.size();
+ /// was window resize... - let's see if this works..
+ this.el.on('resize', this.resize, this);
+
+
this.layout();
} ,this);