examples/layout/viewpanel.bjs
authorChris <chris@roojs.com>
Mon, 21 Oct 2013 12:39:58 +0000 (20:39 +0800)
committerChris <chris@roojs.com>
Mon, 21 Oct 2013 12:39:58 +0000 (20:39 +0800)
examples/layout/viewpanel.js

examples/layout/viewpanel.bjs
examples/layout/viewpanel.js

index 1fba33c..333010a 100644 (file)
@@ -22,7 +22,7 @@
                         },
                         {
                             "listeners": {
-                                "activate": "function (_self)\n{\n    Roo.log(_self);\n    \n    if(_self.active && _self.view){\n        _this.view = this.view;\n    }\n}",
+                                "activate": "function (_self)\n{\n    Roo.log(_self);\n    \n}",
                                 "render": "function (_self)\n{\n    _this.bodypanel = _self;\n    \n    \n}"
                             },
                             "region": "center",
index b6ee0bc..f864c27 100644 (file)
@@ -30,9 +30,6 @@ viewpanel = new Roo.XComponent({
                             {
                                 Roo.log(_self);
                                 
-                                if(_self.active && _self.view){
-                                    _this.view = this.view;
-                                }
                             },
                             render : function (_self)
                             {