Roo/bootstrap/LayoutMasonry.js
authorAlan Knowles <alan@roojs.com>
Tue, 20 Oct 2015 09:52:40 +0000 (17:52 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 20 Oct 2015 09:52:40 +0000 (17:52 +0800)
Roo/bootstrap/LayoutMasonry.js

index dbc8017..6300fc4 100644 (file)
@@ -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.resize, this); // risky - might result in infinite loop.
+        this.bricks.on('resize', this.layout, this); // risky - might result in infinite loop.
         
         Roo.log(this.bricks.elements.length);
     },