bug 14591: cloudstack 3.0 UI - remove Change Service option from router page.

This commit is contained in:
Jessica Wang 2012-04-04 15:03:13 -07:00
parent 8c27c38798
commit cf0cc30aed
1 changed files with 6 additions and 4 deletions

View File

@ -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;
}