fix #7318 - rename upload cropbox and panel tree
[roojs1] / examples / layout / calendar.js
index 9589401..31284fe 100644 (file)
@@ -15,8 +15,8 @@ calendarpanel = new Roo.XComponent({
         var _this = this;
         var MODULE = this;
         return {
-            xtype: 'NestedLayoutPanel',
-            xns: Roo,
+            xtype: 'NestedLayout',
+            xns: Roo.panel,
             region : 'center',
             layout : {
                 xtype: 'BorderLayout',
@@ -24,17 +24,17 @@ calendarpanel = new Roo.XComponent({
                 xns: Roo,
                 items : [
                     {
-                        xtype: 'CalendarPanel',
-                        xns: Roo,
+                        xtype: 'Calendar',
+                        xns: Roo.Panel,
                         region : 'center',
                         listeners : {
                             activate : function (_self)
                             {
-                                Roo.log('calendar.js activate');
+                                Roo.log('activate');
                             },
                             render : function (_self)
                             {
-                                Roo.log('calendar.js render');
+                                Roo.log('render');
                             }
                         },
                           store : {