bug 14410: cloudstack 3.0 UI - instance page - Start VM action - show vm password on screen if startVM API returns it.

This commit is contained in:
Jessica Wang 2012-04-16 18:20:43 -07:00
parent 01274e3af4
commit 193e835717

View File

@ -575,6 +575,12 @@
}, },
notification: function(args) { notification: function(args) {
return 'label.action.start.instance'; return 'label.action.start.instance';
},
complete: function(args) {
if(args.password != null) {
alert('Password of the VM is ' + args.password);
}
return 'label.action.start.instance';
} }
}, },
notification: { notification: {
@ -854,6 +860,12 @@
}, },
notification: function(args) { notification: function(args) {
return 'label.action.start.instance'; return 'label.action.start.instance';
},
complete: function(args) {
if(args.password != null) {
alert('Password of the VM is ' + args.password);
}
return 'label.action.start.instance';
} }
}, },
notification: { notification: {