Roo/XComponent.js
authorAlan Knowles <alan@roojs.com>
Mon, 22 Sep 2014 09:30:21 +0000 (17:30 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 22 Sep 2014 09:30:21 +0000 (17:30 +0800)
Roo/XComponent.js

index 6bb3f18..c8fec94 100644 (file)
@@ -174,7 +174,7 @@ Roo.extend(Roo.XComponent, Roo.util.Observable, {
             switch (ename) {
                 case 'bootstrap-body' :
                     if (typeof(Roo.bootstrap.Body) != 'undefined') {
-                        this.parent = { el :  Roo.factory(Roo.bootstrap,'Body') };
+                        this.parent = { el :  Roo.factory('Body', Roo.bootstrap) };
                         Roo.log("setting el to doc body");
                          
                     } else {