-/*\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.1.1
+ * Copyright(c) 2006-2010 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