2 * Ext JS Library 2.2.1
\r
3 * Copyright(c) 2006-2009, Ext JS, LLC.
\r
4 * licensing@extjs.com
\r
6 * http://extjs.com/license
\r
9 Ext.onReady(function(){
\r
11 var button = Ext.get('show-btn');
\r
13 button.on('click', function(){
\r
14 // create the window on the first click and reuse on subsequent clicks
\r
16 win = new Ext.Window({
\r
17 applyTo : 'hello-win',
\r
21 closeAction :'hide',
\r
23 items : new Ext.TabPanel({
\r
24 applyTo : 'hello-tabs',
\r
27 deferredRender : false,
\r
36 handler : function(){
\r