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,7 +575,13 @@
},
notification: function(args) {
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: {
poll: pollAsyncJobResult
@ -854,7 +860,13 @@
},
notification: function(args) {
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: {
poll: pollAsyncJobResult