mirror of https://github.com/apache/cloudstack.git
bug 14591: cloudstack 3.0 UI - remove Change Service option from router page.
This commit is contained in:
parent
8c27c38798
commit
cf0cc30aed
|
|
@ -2110,7 +2110,8 @@
|
|||
poll: pollAsyncJobResult
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
/*
|
||||
changeService: {
|
||||
label: 'label.change.service.offering',
|
||||
createForm: {
|
||||
|
|
@ -2165,6 +2166,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
*/
|
||||
|
||||
migrate: {
|
||||
label: 'label.action.migrate.router',
|
||||
|
|
@ -7427,15 +7429,15 @@
|
|||
if (jsonObj.state == 'Running') {
|
||||
allowedActions.push("stop");
|
||||
allowedActions.push("restart");
|
||||
allowedActions.push("changeService");
|
||||
//allowedActions.push("changeService");
|
||||
allowedActions.push("viewConsole");
|
||||
if (isAdmin())
|
||||
allowedActions.push("migrate");
|
||||
}
|
||||
else if (jsonObj.state == 'Stopped') {
|
||||
allowedActions.push("start");
|
||||
allowedActions.push("remove");
|
||||
allowedActions.push("changeService");
|
||||
allowedActions.push("remove");
|
||||
//allowedActions.push("changeService");
|
||||
}
|
||||
return allowedActions;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue