diff --git a/admin/committees.php b/admin/committees.php index c11156b..7c1113e 100644 --- a/admin/committees.php +++ b/admin/committees.php @@ -48,14 +48,14 @@ if($_POST['users_uid']) function openeditor(id) { - window.open("user_editor_window.php?id="+id,"User Editor","location=no,menubar=no,directories=no,toolbar=no,width=770,height=500,scrollbars=yes"); + window.open("user_editor_window.php?id="+id,"UserEditor","location=no,menubar=no,directories=no,toolbar=no,width=770,height=500,scrollbars=yes"); return false; } function neweditor() { var username = document.forms.addmember.add_member.value; - window.open("user_editor_window.php?type=committee&username="+username,"User Editor","location=no,menubar=no,directories=no,toolbar=no,width=770,height=500,scrollbars=yes"); + window.open("user_editor_window.php?type=committee&username="+username,"UserEditor","location=no,menubar=no,directories=no,toolbar=no,width=770,height=500,scrollbars=yes"); document.forms.addmember.add_member.value = ""; return false; } diff --git a/admin/user_editor_window.php b/admin/user_editor_window.php index aca2bd8..94f0790 100644 --- a/admin/user_editor_window.php +++ b/admin/user_editor_window.php @@ -132,6 +132,7 @@ send_popup_header(i18n("User Editor").": {$u['name']}"); $(document).ready(function() { $("#tabs").tabs(); + window.focus(); });