mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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:
parent
01274e3af4
commit
193e835717
@ -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: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user