diff --git a/ChangeLog b/ChangeLog
index bc5320fe9..48c7719dd 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,9 +17,10 @@ $Source$
- display default engine in footer
* libraries/common.lib.php: added PMA_getDbLink
* libraries/display_create_table.lib.php: use fieldset
- * server_privilegs.php:
- db with only table specific rights where not displayed if there was not at
- least one db with db specfic rights
+ * server_privilegs.php, libraries/server_privilegs.js:
+ - db with only table specific rights where not displayed if there was not
+ at least one db with db specfic rights
+ - javascript errors
2005-11-08 Sebastian Mendel
* Documentation.html, browse_foreigners.php, error.php,
diff --git a/libraries/server_privileges.js b/libraries/server_privileges.js
index 3dc35056d..bc3a74f1e 100644
--- a/libraries/server_privileges.js
+++ b/libraries/server_privileges.js
@@ -99,19 +99,16 @@ function setCheckboxes(the_form, the_checkboxes, do_check)
*
* @return boolean always true
*/
-function suggestPassword(the_form)
-{
- var pwchars = "abcdefhjmnpqrstuvwxyz23456789ABCDEFGHJKLMNPQRSTUVWYXZ.,:";
- var passwordlength = 16; // do we want that to be dynamic? no, keep it simple :)
- var passwd = '';
+function suggestPassword() {
+ var pwchars = "abcdefhjmnpqrstuvwxyz23456789ABCDEFGHJKLMNPQRSTUVWYXZ.,:";
+ var passwordlength = 16; // do we want that to be dynamic? no, keep it simple :)
+ var passwd = document.getElementById('generated_pw');
+ passwd.value = '';
- for (i=0;i' . $GLOBALS['strZeroRemovesTheLimit'] . '