Roo/bootstrap/MasonryBrick.js
authorjohn <john@roojs.com>
Mon, 11 Dec 2017 05:16:52 +0000 (13:16 +0800)
committerjohn <john@roojs.com>
Mon, 11 Dec 2017 05:16:52 +0000 (13:16 +0800)
Roo/bootstrap/MasonryBrick.js

index 893e2f7..8d576ce 100644 (file)
@@ -476,7 +476,7 @@ Roo.extend(Roo.bootstrap.MasonryBrick, Roo.bootstrap.Component,  {
             return;
         }
         Roo.log(this.parentId);
-        var m = Roo.select('#'+this.parentId);
+        var m = Roo.get( this.parentId);
         var index = m.selectedBrick.indexOf(this.id);
         
         if ( index > -1) {