plugins/admin/UserManager.php
changeset 1232 83fd4ed90cc6
parent 1227 bdac73ed481e
parent 1229 17f206fe1d2e
child 1238 56b94bd46968
--- a/plugins/admin/UserManager.php	Tue Mar 30 11:37:00 2010 -0400
+++ b/plugins/admin/UserManager.php	Tue Mar 30 11:43:17 2010 -0400
@@ -1112,7 +1112,9 @@
 				
 				<!-- BEGINNOT same_user -->
 				<script type="text/javascript">
-				password_score_field(document.forms['useredit_{UUID}'].new_password);
+				addOnloadHook(function() {
+					password_score_field(document.forms['useredit_{UUID}'].new_password);
+				});
 				</script>
 				<!-- END same_user -->