3 * Copyright(c) 2006-2010 Sencha Inc.
5 * http://www.sencha.com/license
7 Ext.onReady(function(){
10 function insertImage(data){
11 Ext.DomHelper.append('images', {
12 tag: 'img', src: data.url, style:'margin:10px;visibility:hidden;'
13 }, true).show(true).frame();
19 chooser = new ImageChooser({
25 chooser.show(btn.getEl(), insertImage);
28 btn = new Ext.Button({