diff options
author | Udo Walter | 2020-06-18 05:14:59 +0200 |
---|---|---|
committer | Udo Walter | 2020-06-18 05:14:59 +0200 |
commit | ced83b2dae2763449cc5c57591ba024dd7bc3d56 (patch) | |
tree | 3f8f002c21f7aaf7fb782903254f9c4610dcbc47 /src/main/resources/controllers/groupFieldController.js | |
parent | Better debug spam for connection checks (diff) | |
download | bwlp-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.js | 2 |
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 !== '#/') { |