From 7b8a28dcf753140c5dd14c8bd9030ecb3300fdea Mon Sep 17 00:00:00 2001 From: Kent Wu Date: Mon, 24 Sep 2018 15:32:06 -0700 Subject: [PATCH] Add 2 more conditions for juju setup while launching the instances Change-Id: I03543ab08db69991db6c6cb98fe40c7c6f0c0fdf --- .../gbpui/group-member/group-member-launch-instance.patcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gbpui/static/dashboard/gbpui/group-member/group-member-launch-instance.patcher.js b/gbpui/static/dashboard/gbpui/group-member/group-member-launch-instance.patcher.js index c7e785b..199b5c0 100644 --- a/gbpui/static/dashboard/gbpui/group-member/group-member-launch-instance.patcher.js +++ b/gbpui/static/dashboard/gbpui/group-member/group-member-launch-instance.patcher.js @@ -39,7 +39,7 @@ // This check can be potentially made more restrictive to specifically // check if policy_target is in the URL - if (launchContextService.launchContext.successUrl != '/dashboard/project/instances/' && launchContextService.launchContext.successUrl != '/dashboard/project/network_topology/') { + if (launchContextService.launchContext.successUrl != '/dashboard/project/instances/' && launchContextService.launchContext.successUrl != '/dashboard/project/network_topology/' && launchContextService.launchContext.successUrl != '/project/instances/' && launchContextService.launchContext.successUrl != '/project/network_topology/') { // Finds and replaces the Network and Port wizard pages with // the GBP wizard page var networkIndex = -1;