[mapguide-commits] r7366 - sandbox/adsk/2.3r/Web/src/viewerfiles

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sun Feb 17 23:21:48 PST 2013


Author: hubu
Date: 2013-02-17 23:21:47 -0800 (Sun, 17 Feb 2013)
New Revision: 7366

Modified:
   sandbox/adsk/2.3r/Web/src/viewerfiles/wz_jsgraphics.js
Log:
Submit on behalf of Andy Zhang
Integrate fix for ticket #1849 to adsk/2.3r



Modified: sandbox/adsk/2.3r/Web/src/viewerfiles/wz_jsgraphics.js
===================================================================
--- sandbox/adsk/2.3r/Web/src/viewerfiles/wz_jsgraphics.js	2013-02-15 16:06:22 UTC (rev 7365)
+++ sandbox/adsk/2.3r/Web/src/viewerfiles/wz_jsgraphics.js	2013-02-18 07:21:47 UTC (rev 7366)
@@ -674,8 +674,8 @@
 
 	this.drawPolyline = this.drawPolyLine = function(x, y)
 	{
-		for (var i=x.length - 1; i;)
-		{--i;
+		for (var i=0; i<x.length-1; i++)
+		{
 			this.drawLine(x[i], y[i], x[i+1], y[i+1]);
 		}
 	};



More information about the mapguide-commits mailing list