[Commits] r1415 - core/trunk/geoext/examples
commits at geoext.org
commits at geoext.org
Mon Oct 12 12:55:43 CEST 2009
Author: ahocevar
Date: 2009-10-12 12:55:43 +0200 (Mon, 12 Oct 2009)
New Revision: 1415
Modified:
core/trunk/geoext/examples/tree.html
core/trunk/geoext/examples/tree.js
Log:
fixed toolbar and a typo
Modified: core/trunk/geoext/examples/tree.html
===================================================================
--- core/trunk/geoext/examples/tree.html 2009-10-12 10:52:31 UTC (rev 1414)
+++ core/trunk/geoext/examples/tree.html 2009-10-12 10:55:43 UTC (rev 1415)
@@ -23,7 +23,7 @@
<p>The js is not minified so it is readable. See
<a href="tree.js">tree.js</a>.</p>
<p>Also see the <a href="layercontainer.html">Layer Container</a>
- example for drag-n-drop support</p>
+ example for drag-n-drop support.</p>
</div>
</body>
</html>
Modified: core/trunk/geoext/examples/tree.js
===================================================================
--- core/trunk/geoext/examples/tree.js 2009-10-12 10:52:31 UTC (rev 1414)
+++ core/trunk/geoext/examples/tree.js 2009-10-12 10:55:43 UTC (rev 1415)
@@ -150,7 +150,13 @@
},
rootVisible: false,
lines: false,
- bbar: toolbar
+ bbar: [{
+ text: "Show/Edit Tree Config",
+ handler: function() {
+ treeConfigWin.show();
+ Ext.getCmp("treeconfig").setValue(treeConfig);
+ }
+ }]
});
// dialog for editing the tree configuration
@@ -192,16 +198,6 @@
}]
});
- var toolbar = new Ext.Toolbar({
- items: [{
- text: "Show/Edit Tree Config",
- handler: function() {
- treeConfigWin.show();
- Ext.getCmp("treeconfig").setValue(treeConfig);
- }
- }]
- });
-
new Ext.Viewport({
layout: "fit",
hideBorders: true,
More information about the Commits
mailing list