[pLog-svn] r3616 - plog/trunk/js/ui

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sun Jun 18 20:11:14 GMT 2006


Author: oscar
Date: 2006-06-18 20:11:14 +0000 (Sun, 18 Jun 2006)
New Revision: 3616

Modified:
   plog/trunk/js/ui/common.js
Log:
removed a javascript error


Modified: plog/trunk/js/ui/common.js
===================================================================
--- plog/trunk/js/ui/common.js	2006-06-18 19:56:39 UTC (rev 3615)
+++ plog/trunk/js/ui/common.js	2006-06-18 20:11:14 UTC (rev 3616)
@@ -435,10 +435,12 @@
 	userList = document.getElementById( 'userList' );
     length = userList.options.length;
 	for( i = 0; i < length; i++ ) {
-		if( userList.options[i].selected ){
-			userList.options[i] = null;
-            i--; 
-            //length--;
+		if( userList.options[i] ) {
+			if( userList.options[i].selected ){
+				userList.options[i] = null;
+            	i--; 
+            	//length--;
+			}
         }
 	}
 	return( true );



More information about the pLog-svn mailing list