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:
Jessica Wang 2013-09-23 11:57:10 -07:00
parent 38bbfdc89a
commit 35e5076156
1 changed files with 6 additions and 0 deletions

View File

@ -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: {