mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
bug 14569
Always show 'change service' action, even when VM is running. When VM is running, show a popup indicating user to stop VM, and do not perform action.
This commit is contained in:
parent
a777b6212d
commit
297fbc171c
@ -1218,9 +1218,6 @@
|
||||
changeService: {
|
||||
label: 'label.action.change.service',
|
||||
messages: {
|
||||
confirm: function(args) {
|
||||
return 'Are you sure you want to change service offering?';
|
||||
},
|
||||
notification: function(args) {
|
||||
return 'label.action.change.service';
|
||||
}
|
||||
@ -1710,6 +1707,7 @@
|
||||
allowedActions.push("stop");
|
||||
allowedActions.push("restart");
|
||||
allowedActions.push("destroy");
|
||||
allowedActions.push("changeService");
|
||||
|
||||
if (isAdmin())
|
||||
allowedActions.push("migrate");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user