From 2c47fbb55c9f302ddb55a39528d24b863e0466e8 Mon Sep 17 00:00:00 2001 From: James Muehlner Date: Tue, 18 Nov 2014 22:19:26 -0800 Subject: [PATCH] GUAC-897 Fixed cg vs g confusion for connection group type identifier in javascript and templates. --- .../src/main/webapp/app/home/controllers/homeController.js | 2 +- guacamole/src/main/webapp/app/home/templates/home.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/guacamole/src/main/webapp/app/home/controllers/homeController.js b/guacamole/src/main/webapp/app/home/controllers/homeController.js index 770f97b34..def3605ab 100644 --- a/guacamole/src/main/webapp/app/home/controllers/homeController.js +++ b/guacamole/src/main/webapp/app/home/controllers/homeController.js @@ -58,7 +58,7 @@ angular.module('home').controller('homeController', ['$scope', '$injector', // Figure out which recent connection entries are valid $scope.connectionsAndGroups.forEach(function findValidEntries (connectionOrGroup) { - var type = connectionOrGroup.isConnection ? "c" : "cg"; + var type = connectionOrGroup.isConnection ? "c" : "g"; // Find the unique ID to index into the recent connections var uniqueId = encodeURIComponent( diff --git a/guacamole/src/main/webapp/app/home/templates/home.html b/guacamole/src/main/webapp/app/home/templates/home.html index e46a7327c..5a5ac8346 100644 --- a/guacamole/src/main/webapp/app/home/templates/home.html +++ b/guacamole/src/main/webapp/app/home/templates/home.html @@ -35,7 +35,7 @@
- {{item.name}} + {{item.name}} {{item.name}}