[fusion-commits] r1665 - in trunk/widgets: . Measure

svn_fusion at osgeo.org svn_fusion at osgeo.org
Wed Nov 12 16:46:55 EST 2008


Author: madair
Date: 2008-11-12 16:46:54 -0500 (Wed, 12 Nov 2008)
New Revision: 1665

Modified:
   trunk/widgets/Measure.js
   trunk/widgets/Measure/Measure.php
Log:
re #140: update of measure widget to new directory

Modified: trunk/widgets/Measure/Measure.php
===================================================================
--- trunk/widgets/Measure/Measure.php	2008-11-12 21:41:00 UTC (rev 1664)
+++ trunk/widgets/Measure/Measure.php	2008-11-12 21:46:54 UTC (rev 1665)
@@ -24,7 +24,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
  
-  $fusionMGpath = '../../MapGuide/php/';
+  $fusionMGpath = '../../layers/MapGuide/php/';
   include $fusionMGpath . 'Common.php';
   SetLocalizedFilesPath(GetLocalizationPath());
   if(isset($_REQUEST['locale'])) {

Modified: trunk/widgets/Measure.js
===================================================================
--- trunk/widgets/Measure.js	2008-11-12 21:41:00 UTC (rev 1664)
+++ trunk/widgets/Measure.js	2008-11-12 21:46:54 UTC (rev 1665)
@@ -366,7 +366,7 @@
     
     measureSegment: function(segment, marker) {
         var aMaps = this.getMap().getAllMaps();
-        var s = aMaps[0].arch + '/' + Fusion.getScriptLanguage() + "/Measure." + Fusion.getScriptLanguage() ;
+        var s = 'layers/' + aMaps[0].arch + '/' + Fusion.getScriptLanguage() + "/Measure." + Fusion.getScriptLanguage() ;
         var options = {
             parameters: {
                 'session': aMaps[0].getSessionID(),



More information about the fusion-commits mailing list