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

oscar at devel.lifetype.net oscar at devel.lifetype.net
Wed Feb 21 08:40:15 EST 2007


Author: oscar
Date: 2007-02-21 08:40:15 -0500 (Wed, 21 Feb 2007)
New Revision: 4803

Modified:
   plog/trunk/js/location/location.js
Log:
And another.


Modified: plog/trunk/js/location/location.js
===================================================================
--- plog/trunk/js/location/location.js	2007-02-21 13:35:16 UTC (rev 4802)
+++ plog/trunk/js/location/location.js	2007-02-21 13:40:15 UTC (rev 4803)
@@ -196,7 +196,7 @@
  */
 Lifetype.UI.Location.displaySelectedLocationFromId = function( elem, ignoreValues )
 {
-	list = document.getElementById( elem );
+	var list = document.getElementById( elem );
 	if( !list )
 		return false;
 		
@@ -206,11 +206,11 @@
 			return false;
 	}
 
-	locId = list.options[list.selectedIndex].value;
-	text = list.options[list.selectedIndex].text;
-	url = '?op=adminLocationDisplay&locId=' + locId;
+	var locId = list.options[list.selectedIndex].value;
+	var text = list.options[list.selectedIndex].text;
+	var url = '?op=adminLocationDisplay&locId=' + locId;
 	
-	window.open(url,'Location Viewer','scrollbars=no,resizable=no,toolbar=no,height=500,width=590');		
+	window.open(url,'LocationViewer','scrollbars=no,resizable=no,toolbar=no,height=500,width=590');		
 	
 	return false;
 }



More information about the pLog-svn mailing list