[fusion-commits] r2178 - sandbox/jxlib-3.0/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Mon May 31 16:22:16 EDT 2010
Author: madair
Date: 2010-05-31 16:22:16 -0400 (Mon, 31 May 2010)
New Revision: 2178
Modified:
sandbox/jxlib-3.0/widgets/MapMenu.js
Log:
removing debug statements
Modified: sandbox/jxlib-3.0/widgets/MapMenu.js
===================================================================
--- sandbox/jxlib-3.0/widgets/MapMenu.js 2010-05-31 20:18:33 UTC (rev 2177)
+++ sandbox/jxlib-3.0/widgets/MapMenu.js 2010-05-31 20:22:16 UTC (rev 2178)
@@ -103,9 +103,9 @@
processMSMapMenu: function(r) {
if (r.status == 200) {
var o;
- //eval("o="+r.responseText);
- var testData = '{"success":true,"errorMessages":[],"values":[{"sPath":"/ms4w/apps/gmap/cap/HamiltonLowIncome.map","sPermissions":"2","sResourceId":"/Hamilton/Hamilton Low Income","sMapResource":"/Hamilton/hamilton_low_income"},{"sPath":"/mnt/FGS_ENVIRONS/fgs-cap/apps/platform/data/home/root/Canada1.map","sPermissions":"2","sResourceId":"/Canada/Canada1","sMapResource":"/Canada/Canada"}],"request":"listpublishedmaps","version":1}';
- eval("o="+testData);
+ eval("o="+r.responseText);
+ //var testData = '{"success":true,"errorMessages":[],"values":[{"sPath":"/ms4w/apps/gmap/cap/HamiltonLowIncome.map","sPermissions":"2","sResourceId":"/Hamilton/Hamilton Low Income","sMapResource":"/Hamilton/hamilton_low_income"},{"sPath":"/mnt/FGS_ENVIRONS/fgs-cap/apps/platform/data/home/root/Canada1.map","sPermissions":"2","sResourceId":"/Canada/Canada1","sMapResource":"/Canada/Canada"}],"request":"listpublishedmaps","version":1}';
+ //eval("o="+testData);
this.menus = {};
var list = o.values;
if (o.values) {
More information about the fusion-commits
mailing list