diff --git a/admin/js/users.js b/admin/js/users.js
index 48f3b15e3b8..994ce6f6cbd 100644
--- a/admin/js/users.js
+++ b/admin/js/users.js
@@ -112,7 +112,7 @@ $(document).ready(function(){
//#########################################################################
// Password (clicking on user name)
- $("div[x-use='usernamediv']").live( "click", function(){
+ $("span[x-use='usernamediv']").live( "click", function(){
if( togglepassword == "" || $(this).parent().parent().attr("x-uid") != togglepassword ){
togglepassword = $(this).parent().parent().attr("x-uid");
// Set the username!
@@ -167,6 +167,7 @@ $(document).ready(function(){
}
});
$("#changegroupuid").val(togglegroup);
+ $(this).empty();
$(this).parent().append( $('#changegroups') );
$('#changegroups').show();
}
@@ -205,13 +206,6 @@ $(document).ready(function(){
// Clicking on buttons
//#########################################################################
- // Show the create user form
- $( "#createuseroptionbutton" )
- .click(function(){
- $("#createuserform").show();
- $("#createuseroption").hide();
- return false;
- });
// Create a new user
$( "#createuserbutton" )
diff --git a/admin/templates/users.php b/admin/templates/users.php
index 133028c4e27..147db7c7aa4 100644
--- a/admin/templates/users.php
+++ b/admin/templates/users.php
@@ -1,101 +1,102 @@
-
t( 'Users' ); ?>
-
-
-
-
- t( 'Name' ); ?> |
- t( 'Groups' ); ?> |
- |
-
-
-
-
- |
- |
- |
-
-
+
+
+ ">
+ |
+ |
+
+
+ t( 'remove' ); ?>
+
+ |
+
+
+
+
+
-t( 'Groups' ); ?>
-
+
-
+
-
+
-
+
-
+