From ca6259ed6a1f37b7dd4172fd3fd5748246ba69c2 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 5 Jan 2015 02:29:34 -0800 Subject: [PATCH] GUAC-964: Add missing initialization of $scope variables in manageController. --- .../app/manage/controllers/manageController.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/guacamole/src/main/webapp/app/manage/controllers/manageController.js b/guacamole/src/main/webapp/app/manage/controllers/manageController.js index 84733fe55..a1c9cf2de 100644 --- a/guacamole/src/main/webapp/app/manage/controllers/manageController.js +++ b/guacamole/src/main/webapp/app/manage/controllers/manageController.js @@ -49,6 +49,20 @@ angular.module('manage').controller('manageController', ['$scope', '$injector', } }; + /** + * All visible users. + * + * @type User[] + */ + $scope.users = null; + + /** + * The root connection group of the connection group hierarchy. + * + * @type ConnectionGroup + */ + $scope.rootGroup = null; + /** * Whether the current user can manage users. If the current permissions * have not yet been loaded, this will be null.