bug 8067: account page - domain-admin is not allowed to create account.

This commit is contained in:
Jessica Wang 2011-01-19 17:01:31 -08:00
parent 0bddaa25dd
commit 08e351abe1
2 changed files with 2 additions and 1 deletions

View File

@ -169,7 +169,7 @@
<!-- top buttons (begin) -->
<div id="top_buttons">
<div class="actionpanel_button_wrapper" id="add_account_button">
<div class="actionpanel_button_wrapper" id="add_account_button" style="display: none">
<div class="actionpanel_button">
<div class="actionpanel_button_icons">
<img src="images/addvm_actionicon.png" alt="Add Account" /></div>

View File

@ -52,6 +52,7 @@ function afterLoadAccountJSP() {
initDialog("dialog_change_password", 450);
initDialog("dialog_add_user", 450);
$("#top_buttons").find("#add_account_button").show();
bindAddAccountButton();
bindAddUserButton();
}