[mapguide-commits] r7336 - trunk/MgDev/Web/src/mapadmin/js

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Jan 22 05:51:01 PST 2013


Author: jng
Date: 2013-01-22 05:51:00 -0800 (Tue, 22 Jan 2013)
New Revision: 7336

Modified:
   trunk/MgDev/Web/src/mapadmin/js/scripts.js
Log:
#2181: When auto-scrolling the log viewer, we only need to scroll to the bottom. Scrolling to the right is not helpful most of the time.

Modified: trunk/MgDev/Web/src/mapadmin/js/scripts.js
===================================================================
--- trunk/MgDev/Web/src/mapadmin/js/scripts.js	2013-01-22 13:49:14 UTC (rev 7335)
+++ trunk/MgDev/Web/src/mapadmin/js/scripts.js	2013-01-22 13:51:00 UTC (rev 7336)
@@ -306,7 +306,6 @@
     var scrollHeight = 0;
     if ( document.body.scrollHeight )
     {
-        scrollWidth = document.body.scrollWidth;
         scrollHeight = document.body.scrollHeight;
     }
     window.self.scrollBy( scrollWidth, scrollHeight );



More information about the mapguide-commits mailing list