mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-2180: UI > Instances > Reboot VM action > if the template from which vm is created is password-enabled, pop up "Password has been reset to xxxxxxx" dialog after action is complete.
This commit is contained in:
parent
62d49b3524
commit
c1b5612c2d
@ -458,6 +458,12 @@
|
||||
},
|
||||
notification: function(args) {
|
||||
return 'label.action.reboot.instance';
|
||||
},
|
||||
complete: function(args) {
|
||||
if (args.password != null && args.password.length > 0)
|
||||
return 'Password has been reset to ' + args.password;
|
||||
else
|
||||
return null;
|
||||
}
|
||||
},
|
||||
notification: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user