summaryrefslogtreecommitdiffstats
path: root/src/main/resources/controllers/groupFieldController.js
diff options
context:
space:
mode:
authorUdo Walter2020-06-18 05:14:59 +0200
committerUdo Walter2020-06-18 05:14:59 +0200
commitced83b2dae2763449cc5c57591ba024dd7bc3d56 (patch)
tree3f8f002c21f7aaf7fb782903254f9c4610dcbc47 /src/main/resources/controllers/groupFieldController.js
parentBetter debug spam for connection checks (diff)
downloadbwlp-guacamole-ext-ced83b2dae2763449cc5c57591ba024dd7bc3d56.tar.gz
bwlp-guacamole-ext-ced83b2dae2763449cc5c57591ba024dd7bc3d56.tar.xz
bwlp-guacamole-ext-ced83b2dae2763449cc5c57591ba024dd7bc3d56.zip
Send resolution from the users browser to the server and try to autologin the user on the client.
Diffstat (limited to 'src/main/resources/controllers/groupFieldController.js')
-rw-r--r--src/main/resources/controllers/groupFieldController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/controllers/groupFieldController.js b/src/main/resources/controllers/groupFieldController.js
index 3b6f9ea..f49862b 100644
--- a/src/main/resources/controllers/groupFieldController.js
+++ b/src/main/resources/controllers/groupFieldController.js
@@ -1,6 +1,6 @@
angular.module('group').controller('groupFieldController', ['$scope', function groupFieldController($scope) {
- $scope.data = { id: 0, password: '' };
+ $scope.data = { id: 0, password: '', resolution: window.screen.innerWidth + 'x' + window.screen.innerHeight };
$scope.$watch('data', function(newValue) {
if (window.location.hash !== '#/') {