diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js index 5810b6d8f62..c5c612486f4 100644 --- a/ui/scripts/instances.js +++ b/ui/scripts/instances.js @@ -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