From b2b93ac8588515d922d08f7d506aef6e82065857 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 19 Dec 2014 13:17:11 -0800 Subject: [PATCH] GUAC-932: Fix comments regarding connection and connection group management. --- .../app/manage/controllers/manageController.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/guacamole/src/main/webapp/app/manage/controllers/manageController.js b/guacamole/src/main/webapp/app/manage/controllers/manageController.js index d8182d8e0..1efcde5d4 100644 --- a/guacamole/src/main/webapp/app/manage/controllers/manageController.js +++ b/guacamole/src/main/webapp/app/manage/controllers/manageController.js @@ -71,9 +71,10 @@ angular.module('manage').controller('manageController', ['$scope', '$injector', $scope.groupListContext = { /** - * Open a modal to edit the connection. + * Open a modal to edit the given connection. * - * @param {object} connection The connection to edit. + * @param {Connection} connection + * The connection to edit. */ editConnection : function editConnection(connection) { connectionEditModal.activate({ @@ -84,9 +85,10 @@ angular.module('manage').controller('manageController', ['$scope', '$injector', }, /** - * Open a modal to edit the connection group. + * Open a modal to edit the given connection group. * - * @param {object} connection The connection group to edit. + * @param {ConnectionGroup} connectionGroup + * The connection group to edit. */ editConnectionGroup : function editConnectionGroup(connectionGroup) { connectionGroupEditModal.activate({ @@ -98,7 +100,7 @@ angular.module('manage').controller('manageController', ['$scope', '$injector', }; /** - * Open a modal to edit a new connection. + * Open a modal to create a new connection. */ $scope.newConnection = function newConnection() { connectionEditModal.activate( @@ -110,7 +112,7 @@ angular.module('manage').controller('manageController', ['$scope', '$injector', }; /** - * Open a modal to edit a new connection group. + * Open a modal to create a new connection group. */ $scope.newConnectionGroup = function newConnectionGroup() { connectionGroupEditModal.activate(