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

oscar at devel.lifetype.net oscar at devel.lifetype.net
Mon Jul 30 03:02:06 EDT 2007


Author: oscar
Date: 2007-07-30 03:02:06 -0400 (Mon, 30 Jul 2007)
New Revision: 5756

Modified:
   plog/trunk/js/location/location.js
Log:
Small fix for IE


Modified: plog/trunk/js/location/location.js
===================================================================
--- plog/trunk/js/location/location.js	2007-07-29 21:54:03 UTC (rev 5755)
+++ plog/trunk/js/location/location.js	2007-07-30 07:02:06 UTC (rev 5756)
@@ -93,18 +93,18 @@
 
 Lifetype.UI.Location.Selector.displaySelected = function( a )
 {
-	list = Lifetype.Dom.$('locationId');
-	if( list.options[list.selectedIndex].value <= 0 )
+	var lst = Lifetype.Dom.$('locationId');
+	if( lst.options[lst.selectedIndex].value <= 0 )
 		return false;
 		
-	locId = list.options[list.selectedIndex].value;
+	locId = lst.options[lst.selectedIndex].value;
 
 	Lifetype.UI.Location.Selector.display( locId );
 }
 
 Lifetype.UI.Location.Selector.display = function( locId )
 {
-	url = '?op=adminLocationDisplay&locId=' + locId;
+	var url = '?op=adminLocationDisplay&locId=' + locId;
 	
 	Lifetype.UI.ContentOverlay.Events.hideOverlay.subscribe( function() { GUnload(); });
 	
@@ -595,4 +595,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