[fusion-commits] r2649 - sandbox/adsk/2.3r.sce/layers/MapGuide
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Fri Mar 1 00:19:32 PST 2013
Author: liuar
Date: 2013-03-01 00:19:31 -0800 (Fri, 01 Mar 2013)
New Revision: 2649
Modified:
sandbox/adsk/2.3r.sce/layers/MapGuide/MapGuide.js
Log:
Submit on behalf of Andy Zhang.
This submission fixed 'no features selected' error for SCE project.
Modified: sandbox/adsk/2.3r.sce/layers/MapGuide/MapGuide.js
===================================================================
--- sandbox/adsk/2.3r.sce/layers/MapGuide/MapGuide.js 2013-02-25 07:42:51 UTC (rev 2648)
+++ sandbox/adsk/2.3r.sce/layers/MapGuide/MapGuide.js 2013-03-01 08:19:31 UTC (rev 2649)
@@ -959,15 +959,15 @@
processSelectedFeatureProperties: function(r) {
this.mapWidget._removeWorker();
if (r.responseText) { //TODO: make the equivalent change to MapServer.js
- var oNode;
- eval('oNode='+r.responseText);
+ //var oNode;
+ //eval('oNode='+r.responseText);
- if (oNode.hasSelection) {
- this.newSelection();
- } else {
- this.clearSelection();
- return;
- }
+ //if (oNode.hasSelection) {
+ // this.newSelection();
+ //} else {
+ // this.clearSelection();
+ // return;
+ //}
}
},
@@ -1009,7 +1009,7 @@
}
}
}
-
+ this.newSelection();
if (zoomTo) {
var ext = oNode.extents;
var extents = new OpenLayers.Bounds(ext.minx, ext.miny, ext.maxx, ext.maxy);
More information about the fusion-commits
mailing list