X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..b37ceabb82336ee82757cd32efe353cfab8ec267:/examples/direct/direct-tree.js diff --git a/examples/direct/direct-tree.js b/examples/direct/direct-tree.js index cd98a45e..c6e4efb7 100644 --- a/examples/direct/direct-tree.js +++ b/examples/direct/direct-tree.js @@ -1,29 +1,29 @@ /*! - * Ext JS Library 3.1.0 - * Copyright(c) 2006-2009 Ext JS, LLC + * Ext JS Library 3.2.2 + * 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(); + } + }] + }); +});