X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..ddde20c4d4ac6a8d53de079761155de813845b3c:/examples/tree/reorder.js?ds=inline diff --git a/examples/tree/reorder.js b/examples/tree/reorder.js index 31d54a3b..6f0464fc 100644 --- a/examples/tree/reorder.js +++ b/examples/tree/reorder.js @@ -1,32 +1,32 @@ /*! - * Ext JS Library 3.0.0 - * Copyright(c) 2006-2009 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(){ - // shorthand - var Tree = Ext.tree; - - var tree = new Tree.TreePanel({ - useArrows: true, - autoScroll: true, - animate: true, - enableDD: true, - containerScroll: true, - border: false, - // auto create TreeLoader - dataUrl: 'get-nodes.php', - - root: { - nodeType: 'async', - text: 'Ext JS', - draggable: false, - id: 'src' - } - }); - - // render the tree - tree.render('tree-div'); - tree.getRootNode().expand(); +Ext.onReady(function(){ + // shorthand + var Tree = Ext.tree; + + var tree = new Tree.TreePanel({ + useArrows: true, + autoScroll: true, + animate: true, + enableDD: true, + containerScroll: true, + border: false, + // auto create TreeLoader + dataUrl: 'get-nodes.php', + + root: { + nodeType: 'async', + text: 'Ext JS', + draggable: false, + id: 'src' + } + }); + + // render the tree + tree.render('tree-div'); + tree.getRootNode().expand(); }); \ No newline at end of file