diff --git a/xCAT-UI/js/configure/users.js b/xCAT-UI/js/configure/users.js
index 9f5ce132b..d534f8dba 100644
--- a/xCAT-UI/js/configure/users.js
+++ b/xCAT-UI/js/configure/users.js
@@ -169,7 +169,7 @@ function loadUserTable(data){
});
// Create an action menu
- var actionsMenu = createMenu([createLnk, editLnk, deleteLnk, refreshLnk]);
+ var actionsMenu = createMenu([refreshLnk, createLnk, editLnk, deleteLnk]);
actionsMenu.superfish();
actionsMenu.css('display', 'inline-block');
actionBar.append(actionsMenu);
@@ -226,8 +226,16 @@ function openCreateUserDialog(data) {
userAttr.append($('
'));
userAttr.append($(''));
+ var type = $('');
+ var typeSelect = $('');
+ type.append(typeSelect);
+ userAttr.append(type);
userAttr.append($(''));
userAttr.append($(''));
+
optionAttr.append($(''));
optionAttr.append($(''));
optionAttr.append($(''));
@@ -238,10 +246,6 @@ function openCreateUserDialog(data) {
'' +
'' +
''));
- var rootPrivilege = $('');
- var accessCheckbox = $('');
- optionAttr.append(rootPrivilege);
- rootPrivilege.append(accessCheckbox);
optionAttr.append($(''));
optionAttr.append($('