fix #7318 - rename upload cropbox and panel tree
[roojs1] / examples / dialog / layout.js
index 0d79212..76c16ed 100644 (file)
@@ -1,14 +1,14 @@
-/*
- * Based on:
- * Ext JS Library 1.1.1
- * Copyright(c) 2006-2007, Ext JS, LLC.
- *
- * Originally Released Under LGPL - original licence link has changed is not relivant.
- *
- * Fork - LGPL
- * <script type="text/javascript">
- */
-Roo.BLANK_IMAGE_URL  = "../../images/default/s.gif";
+/*\r
+ * Based on:\r
+ * Ext JS Library 1.1.1\r
+ * Copyright(c) 2006-2007, Ext JS, LLC.\r
+ *\r
+ * Originally Released Under LGPL - original licence link has changed is not relivant.\r
+ *\r
+ * Fork - LGPL\r
+ * <script type="text/javascript">\r
+ */\r
+Roo.BLANK_IMAGE_URL  = "../../images/default/s.gif";\r
  \r
 // create the LayoutExample application (single instance)\r
 var LayoutExample = function(){\r
@@ -61,12 +61,12 @@ var LayoutExample = function(){
                 \r
                 var layout = dialog.getLayout();\r
                 layout.beginUpdate();\r
-                layout.add('west', new Roo.ContentPanel('west', {title: 'West'}));\r
-                   layout.add('center', new Roo.ContentPanel('center', {title: 'The First Tab'}));\r
+                layout.add('west', new Roo.panel.Content('west', {title: 'West'}));\r
+                   layout.add('center', new Roo.panel.Content('center', {title: 'The First Tab'}));\r
                 // generate some other tabs\r
-                layout.add('center', new Roo.ContentPanel(Roo.id(), {\r
+                layout.add('center', new Roo.panel.Content(Roo.id(), {\r
                                         autoCreate:true, title: 'Another Tab', background:true}));\r
-                   layout.add('center', new Roo.ContentPanel(Roo.id(), {\r
+                   layout.add('center', new Roo.panel.Content(Roo.id(), {\r
                                         autoCreate:true, title: 'Third Tab', closable:true, background:true}));\r
                    layout.endUpdate();\r
             }\r