[fusion-commits] r2761 - trunk/layers/MapGuide

svn_fusion at osgeo.org svn_fusion at osgeo.org
Sun Aug 4 23:10:56 PDT 2013


Author: liuar
Date: 2013-08-04 23:10:56 -0700 (Sun, 04 Aug 2013)
New Revision: 2761

Modified:
   trunk/layers/MapGuide/MapGuide.js
Log:
Submit on behalf of Andy Zhang. 
The status bar always shows 'No features selected' after selecting features. It is because the SelectionInfo.update is called before the value is assigned. After review the code, I found the layer selection info is set in method renderSelection. So I added a newSelection call in renderSelection. 

Modified: trunk/layers/MapGuide/MapGuide.js
===================================================================
--- trunk/layers/MapGuide/MapGuide.js	2013-08-05 04:11:30 UTC (rev 2760)
+++ trunk/layers/MapGuide/MapGuide.js	2013-08-05 06:10:56 UTC (rev 2761)
@@ -1325,6 +1325,7 @@
                   }
                 }
               }
+              this.newSelection();
 
               if (zoomTo) {
                 var ext = oNode.extents;



More information about the fusion-commits mailing list