[mapguide-commits] r6406 - trunk/MgDev/Web/src/viewerfiles

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Jan 5 00:22:18 EST 2012


Author: liuar
Date: 2012-01-04 21:22:18 -0800 (Wed, 04 Jan 2012)
New Revision: 6406

Modified:
   trunk/MgDev/Web/src/viewerfiles/quickplot.js
Log:
Submit on behalf of Mars Wu
For Ticket 1910: http://trac.osgeo.org/mapguide/ticket/1910

Modified: trunk/MgDev/Web/src/viewerfiles/quickplot.js
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/quickplot.js	2012-01-05 05:11:56 UTC (rev 6405)
+++ trunk/MgDev/Web/src/viewerfiles/quickplot.js	2012-01-05 05:22:18 UTC (rev 6406)
@@ -859,14 +859,16 @@
                   "&box=" + this.captureInfo.params1 +
                   "&normalized_box=" + this.captureInfo.params2 + 
                   "&scale_denominator=" + this.captureInfo.scaleDenominator + 
-                  "&rotation=" + this.captureInfo.rotation; 
+                  "&rotation=" + this.captureInfo.rotation + 
+                  "&timestamp=" + (new Date()).getTime(); 
                 
             this.printPicture       = $(this.innerDoc.getElementById("PrintPicture"));
-            this.printPicture.src   = src;
             
             // Listen to print picture onload vent
             this.printPicture.addEvent("load", this.printPictureLoaded.bind(this));
             this.printPicture.addEvent("error", this.printPictureLoadError.bind(this));
+
+            this.printPicture.src   = src;
             
             var innerBox  = this.previewContainer.getMarginBoxSize();
             // Resize the frame according to the inner container's 


Property changes on: trunk/MgDev/Web/src/viewerfiles/quickplot.js
___________________________________________________________________
Added: svn:mergeinfo
   + /sandbox/adsk/2.2gp/Web/src/viewerfiles/quickplot.js:5392
/sandbox/adsk/2.4j/Web/src/viewerfiles/quickplot.js:6327-6405
/trunk/MgDev/Web/src/viewerfiles/quickplot.js:6250-6326



More information about the mapguide-commits mailing list