Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git] / examples / view / chooser-example.js
index 449bab1..682bd7b 100644 (file)
@@ -1,40 +1,30 @@
-/*\r
- * Ext JS Library 2.2.1\r
- * Copyright(c) 2006-2009, Ext JS, LLC.\r
- * licensing@extjs.com\r
- * \r
- * http://extjs.com/license\r
- */\r
-\r
-/*\r
- * Ext JS Library 2.0\r
- * Copyright(c) 2006-2007, Ext JS, LLC.\r
- * licensing@extjs.com\r
- * \r
- * http://extjs.com/license\r
- */\r
-\r
+/*!
+ * Ext JS Library 3.0.0
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
 Ext.onReady(function(){\r
     var chooser, btn;\r
-    \r
+\r
     function insertImage(data){\r
        Ext.DomHelper.append('images', {\r
                tag: 'img', src: data.url, style:'margin:10px;visibility:hidden;'\r
        }, true).show(true).frame();\r
        btn.focus();\r
     };\r
-    \r
+\r
     function choose(btn){\r
        if(!chooser){\r
                chooser = new ImageChooser({\r
                        url:'get-images.php',\r
-                       width:515, \r
+                       width:515,\r
                        height:350\r
                });\r
        }\r
        chooser.show(btn.getEl(), insertImage);\r
     };\r
-    \r
+\r
     btn = new Ext.Button({\r
            text: "Insert Image",\r
                handler: choose,\r