Roo/bootstrap/LayoutMasonry.js
authorjohn <john@roojs.com>
Thu, 14 Dec 2017 10:35:01 +0000 (18:35 +0800)
committerjohn <john@roojs.com>
Thu, 14 Dec 2017 10:35:01 +0000 (18:35 +0800)
Roo/bootstrap/LayoutMasonry.js

index 748e09c..e33f6d6 100644 (file)
@@ -1247,7 +1247,7 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component,  {
         for (var i = 0; i<this.bricks.length; i++) {
             if (this.bricks[i].id == brick_id) {
                 this.bricks.splice(i,1);
-                this.getChildContainer.removeChild(Roo.get(brick_id).dom);
+                this.getChildContainer().removeChild(Roo.get(brick_id).dom);
                 this.initial();
             }
         }
@@ -1290,9 +1290,9 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component,  {
     getSelected : function()
     {
         if (!this.selectedBrick) {
-            Roo.log(this.selectedBrick)
             return false;
         }
+        
         return this.selectedBrick;
     }
 });