Roo/XComponent.js
authorAlan Knowles <alan@akbkhome.com>
Sun, 31 Jul 2011 10:56:02 +0000 (18:56 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 31 Jul 2011 10:56:02 +0000 (18:56 +0800)
Roo/XComponent.js

index 8ab0610..88c48b6 100644 (file)
@@ -278,14 +278,14 @@ Roo.apply(Roo.XComponent, {
         var _t = this;
         Roo.each(this.modules , function (obj)
         {
-            obj.parent = _t.toObject(obj.parent);
+            obj.parent = this.toObject(obj.parent);
             
             if (!obj.parent) {
-                _t.topModule = obj;
+                this.topModule = obj;
                 return;
             }
             if (typeof(obj.parent) == 'string') {
-                _t.elmodules.push(obj);
+                this.elmodules.push(obj);
                 return;
             }