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 12:00:14 -07:00
parent 62d49b3524
commit c1b5612c2d

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