diff options
Diffstat (limited to 'openstack_dashboard/static/app/core/trunks/actions/delete.action.service.js')
-rw-r--r-- | openstack_dashboard/static/app/core/trunks/actions/delete.action.service.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/openstack_dashboard/static/app/core/trunks/actions/delete.action.service.js b/openstack_dashboard/static/app/core/trunks/actions/delete.action.service.js index bef4dd273..b695e3bfd 100644 --- a/openstack_dashboard/static/app/core/trunks/actions/delete.action.service.js +++ b/openstack_dashboard/static/app/core/trunks/actions/delete.action.service.js @@ -82,17 +82,6 @@ result.fail.forEach(function markFailed(item) { actionResult.failed(resourceType, item.context.id); }); - - var path = "admin/trunks"; - if ($location.url().indexOf("admin") === -1) { - path = "project/trunks"; - } - if ($location.url() !== path && actionResult.result.failed.length === 0 && - actionResult.result.deleted.length > 0) { - $location.path(path); - } else { - return actionResult.result; - } } } |