X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..6a7e4474cba9d8be4b2ec445e10f1691f7277c50:/examples/direct/direct-tree.js diff --git a/examples/direct/direct-tree.js b/examples/direct/direct-tree.js index 0d32000e..964b3bff 100644 --- a/examples/direct/direct-tree.js +++ b/examples/direct/direct-tree.js @@ -1,29 +1,29 @@ /*! - * Ext JS Library 3.1.1 - * Copyright(c) 2006-2010 Ext JS, LLC + * Ext JS Library 3.2.0 + * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license */ -Ext.onReady(function(){ - Ext.Direct.addProvider(Ext.app.REMOTING_API); - - var tree = new Ext.tree.TreePanel({ - width: 400, - height: 400, - autoScroll: true, - renderTo: document.body, - root: { - id: 'root', - text: 'Root' - }, - loader: new Ext.tree.TreeLoader({ - directFn: TestAction.getTree - }), - fbar: [{ - text: 'Reload root', - handler: function(){ - tree.getRootNode().reload(); - } - }] - }); -}); +Ext.onReady(function(){ + Ext.Direct.addProvider(Ext.app.REMOTING_API); + + var tree = new Ext.tree.TreePanel({ + width: 400, + height: 400, + autoScroll: true, + renderTo: document.body, + root: { + id: 'root', + text: 'Root' + }, + loader: new Ext.tree.TreeLoader({ + directFn: TestAction.getTree + }), + fbar: [{ + text: 'Reload root', + handler: function(){ + tree.getRootNode().reload(); + } + }] + }); +});