examples/layout/calendar.js
authorEdward <edward@roojs.com>
Wed, 9 Apr 2014 05:31:29 +0000 (13:31 +0800)
committerEdward <edward@roojs.com>
Wed, 9 Apr 2014 05:31:29 +0000 (13:31 +0800)
examples/layout/calendar.js

index aeb184b..9589401 100644 (file)
@@ -74,6 +74,13 @@ calendarpanel = new Roo.XComponent({
                     xtype: 'LayoutRegion',
                     xns: Roo
                 }
+            },
+            listeners : {
+                'activate' : function() {
+                    _this.nest = this;
+                    Roo.log('nested activate');
+                    this.layout.getRegion('center').showPanel(0);;
+                }
             }
         };
     }