Roo/bootstrap/layout/Border.js
authorAlan Knowles <alan@roojs.com>
Fri, 30 Jun 2017 09:12:21 +0000 (17:12 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 30 Jun 2017 09:12:21 +0000 (17:12 +0800)
Roo/bootstrap/layout/Border.js

index 9c08689..d10fec0 100644 (file)
@@ -374,7 +374,8 @@ layout.addxtype({
                     this.add(region, ret);
                 } else {
                 */
-                    alert("Can not add '" + cfg.xtype + "' to Border");
+                    Roo.log(cfg);
+                    throw "Can not add '" + cfg.xtype + "' to Border";
                     return null;