[pLog-svn] r4800 - plog/trunk/js/location

oscar at devel.lifetype.net oscar at devel.lifetype.net
Wed Feb 21 08:17:32 EST 2007


Author: oscar
Date: 2007-02-21 08:17:32 -0500 (Wed, 21 Feb 2007)
New Revision: 4800

Modified:
   plog/trunk/js/location/location.js
Log:
yet another IE fix


Modified: plog/trunk/js/location/location.js
===================================================================
--- plog/trunk/js/location/location.js	2007-02-21 13:16:00 UTC (rev 4799)
+++ plog/trunk/js/location/location.js	2007-02-21 13:17:32 UTC (rev 4800)
@@ -550,8 +550,8 @@
 
   // add an onclick event
   GEvent.addDomListener( map, "mousemove", function() {
-    latlong = document.getElementById( "latlong" );
-    d = new Date();
+    var latlong = document.getElementById( "latlong" );
+    var d = new Date();
 	latlong.value = d.getTime();
   });
 
@@ -568,4 +568,4 @@
 Lifetype.UI.Location.LatitudeAndLongitudeDisplayControl.prototype.getDefaultPosition = function() 
 {
   return new GControlPosition(G_ANCHOR_TOP_RIGHT, new GSize(7, 7));
-}
\ No newline at end of file
+}



More information about the pLog-svn mailing list