GUAC-1133: Redirect to proper parent URL for given management pages (fixes GUAC-1137).
This commit is contained in:
1 parent
35f3d9e158
commit
68c3d36025
3 files changed
+9
-9
No files matched your search
@@ -171,7 +171,7 @@ angular.module('manage').controller('manageConnectionGroupController', ['$scope'
|
||||
* Cancels all pending edits, returning to the management page.
|
||||
*/
|
||||
$scope.cancel = function cancel() {
|
||||
$location.path('/manage/');
|
||||
$location.path('/manage/modules/connections/');
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -183,7 +183,7 @@ angular.module('manage').controller('manageConnectionGroupController', ['$scope'
|
||||
// Save the connection
|
||||
connectionGroupService.saveConnectionGroup($scope.connectionGroup)
|
||||
.success(function savedConnectionGroup() {
|
||||
$location.path('/manage/');
|
||||
$location.path('/manage/modules/connections/');
|
||||
})
|
||||
|
||||
// Notify of any errors
|
||||
@@ -233,7 +233,7 @@ angular.module('manage').controller('manageConnectionGroupController', ['$scope'
|
||||
// Delete the connection group
|
||||
connectionGroupService.deleteConnectionGroup($scope.connectionGroup)
|
||||
.success(function deletedConnectionGroup() {
|
||||
$location.path('/manage/');
|
||||
$location.path('/manage/modules/connections/');
|
||||
})
|
||||
|
||||
// Notify of any errors
|
||||
|
||||
Reference in new issue
Block a user