mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Sunstone: small improvements to passwd operations
Inform user that password change was successful. Empty the new password box when dialog is re-opened. (cherry picked from commit 519b7f263b5cb4b399b67cb9259d9e8fff2e84c6)
This commit is contained in:
parent
59c93f0768
commit
fbbce209d5
@ -131,9 +131,11 @@ var user_actions = {
|
||||
"User.passwd" : {
|
||||
type: "multiple",
|
||||
call: OpenNebula.User.passwd,
|
||||
//nocallback
|
||||
callback: function(req,res){
|
||||
notifyMessage(tr("Change password successful"));
|
||||
},
|
||||
elements: userElements,
|
||||
error: onError
|
||||
error: onError,
|
||||
},
|
||||
"User.chgrp" : {
|
||||
type: "multiple",
|
||||
@ -492,6 +494,7 @@ function popUpCreateUserDialog(){
|
||||
|
||||
|
||||
function popUpUpdatePasswordDialog(){
|
||||
$('#new_password',$update_pw_dialog).val("");
|
||||
$update_pw_dialog.dialog('open');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user