mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Merge pull request #162 from glyptodon/fix-group-redirect
GUAC-1180: Update group management controller to use new settings URLs.
This commit is contained in:
@@ -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/modules/connections/');
|
||||
$location.path('/settings/connections');
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -183,7 +183,7 @@ angular.module('manage').controller('manageConnectionGroupController', ['$scope'
|
||||
// Save the connection
|
||||
connectionGroupService.saveConnectionGroup($scope.connectionGroup)
|
||||
.success(function savedConnectionGroup() {
|
||||
$location.path('/manage/modules/connections/');
|
||||
$location.path('/settings/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/modules/connections/');
|
||||
$location.path('/settings/connections');
|
||||
})
|
||||
|
||||
// Notify of any errors
|
||||
|
Reference in New Issue
Block a user