X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/examples/tree/reorder.js?ds=inline diff --git a/examples/tree/reorder.js b/examples/tree/reorder.js index 03fcaa7c..c8a48871 100644 --- a/examples/tree/reorder.js +++ b/examples/tree/reorder.js @@ -1,35 +1,32 @@ -/* - * Ext JS Library 2.2.1 - * Copyright(c) 2006-2009, Ext JS, LLC. - * licensing@extjs.com - * - * http://extjs.com/license - */ - -Ext.onReady(function(){ - // shorthand - var Tree = Ext.tree; - - var tree = new Tree.TreePanel({ - el:'tree-div', - useArrows:true, - autoScroll:true, - animate:true, - enableDD:true, - containerScroll: true, - - // auto create TreeLoader - dataUrl: 'get-nodes.php', - - root: { - nodeType: 'async', - text: 'Ext JS', - draggable:false, - id:'source' - } - }); - - // render the tree - tree.render(); - tree.getRootNode().expand(); +/*! + * Ext JS Library 3.3.1 + * Copyright(c) 2006-2010 Sencha Inc. + * licensing@sencha.com + * http://www.sencha.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(); }); \ No newline at end of file