mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 14418: cloudstack 3.0 UI - network - security group - after remove action completes, close detailView and remove corresponding row from listView.
This commit is contained in:
parent
8084318e5e
commit
38e54d35e0
@ -70,7 +70,7 @@
|
||||
if (item.issourcenat){
|
||||
disallowedActions.push('enableStaticNAT');
|
||||
disallowedActions.push('disableStaticNAT');
|
||||
disallowedActions.push('destroy');
|
||||
disallowedActions.push('remove');
|
||||
}
|
||||
|
||||
allowedActions = $.grep(allowedActions, function(item) {
|
||||
@ -88,7 +88,7 @@
|
||||
if (isSecurityGroupOwner &&
|
||||
args.context.item.state != 'Destroyed' &&
|
||||
args.context.item.name != 'default') {
|
||||
allowedActions.push('destroy');
|
||||
allowedActions.push('remove');
|
||||
}
|
||||
|
||||
return allowedActions;
|
||||
@ -2891,7 +2891,7 @@
|
||||
},
|
||||
|
||||
actions: {
|
||||
destroy: {
|
||||
remove: {
|
||||
label: 'label.action.delete.security.group',
|
||||
messages: {
|
||||
confirm: function(args) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user