[fusion-commits] r1769 - branches/fusion2-mg21/widgets/SelectWithin
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Tue Feb 3 15:13:22 EST 2009
Author: chrisclaydon
Date: 2009-02-03 15:13:22 -0500 (Tue, 03 Feb 2009)
New Revision: 1769
Modified:
branches/fusion2-mg21/widgets/SelectWithin/SelectWithinPanel.templ
Log:
Remove unwanted encodeURIComponent calls
Modified: branches/fusion2-mg21/widgets/SelectWithin/SelectWithinPanel.templ
===================================================================
--- branches/fusion2-mg21/widgets/SelectWithin/SelectWithinPanel.templ 2009-02-03 19:31:06 UTC (rev 1768)
+++ branches/fusion2-mg21/widgets/SelectWithin/SelectWithinPanel.templ 2009-02-03 20:13:22 UTC (rev 1769)
@@ -85,13 +85,13 @@
var mapWidget = GetParent().Fusion.getMapByName(mapName);
var map = mapWidget.aMaps[0];
var params = {
- "mapname": encodeURIComponent(mapName),
+ "mapname": mapName,
"session": sessionId,
- "layers": encodeURIComponent(layerSet)
+ "layers": layerSet
};
var options = {
onSuccess: selectedSuccess,
- onFailure: selectedError,
+ onFailure: selectedError,
parameters:params
};
GetParent().Fusion.ajaxRequest(webAgent, options);
@@ -126,7 +126,7 @@
var listNames = document.getElementById("layerNames");
list.options.length = 0;
var map = GetParent().Fusion.getMapByName(mapName);
- var layers = map.aMaps[0].getSelectableLayers();
+ var layers = map.aMaps[0].getSelectableLayers();
if(layers.length > 0) {
for(var i = 0; i < layers.length; i++) {
var layer = layers[i];
More information about the fusion-commits
mailing list