Roo/bootstrap/MasonryBrick.js
authorjohn <john@roojs.com>
Thu, 14 Dec 2017 09:51:11 +0000 (17:51 +0800)
committerjohn <john@roojs.com>
Thu, 14 Dec 2017 09:51:11 +0000 (17:51 +0800)
Roo/bootstrap/MasonryBrick.js

index e178541..6654b16 100644 (file)
@@ -476,8 +476,7 @@ Roo.extend(Roo.bootstrap.MasonryBrick, Roo.bootstrap.Component,  {
             return;
         }
         
-        Roo.log(this.parentId);
-        var m = Roo.get(this.parentId);
+        var m = Roo.bootstrap.LayoutMasonry.get(this.parentId);
         var index = m.selectedBrick.indexOf(this.id);
         
         if ( index > -1) {