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:
Brian Federle 2012-04-03 11:44:21 -07:00
parent a777b6212d
commit 297fbc171c

View File

@ -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");