[Commits] r1193 - apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer
commits at geoext.org
commits at geoext.org
Wed Jul 1 05:25:49 CEST 2009
Author: tschaub
Date: 2009-07-01 05:25:49 +0200 (Wed, 01 Jul 2009)
New Revision: 1193
Modified:
apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/Embed.js
Log:
Make layer menu order look like draw order from bottom to top.
Modified: apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/Embed.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/Embed.js 2009-07-01 03:18:43 UTC (rev 1192)
+++ apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/Embed.js 2009-07-01 03:25:49 UTC (rev 1193)
@@ -129,7 +129,7 @@
}));
this.mapPanel.layers.each(function(x) {
if (x.get("layer").displayInLayerSwitcher) {
- menu.addItem(new GeoExplorer.LayerMenuItem({
+ menu.insert(1, new GeoExplorer.LayerMenuItem({
layerRecord: x
}));
}
More information about the Commits
mailing list