summaryrefslogtreecommitdiffstats
path: root/src/main/resources/config/locationConfig.js
diff options
context:
space:
mode:
authorUdo Walter2020-05-07 19:30:48 +0200
committerUdo Walter2020-05-07 19:30:48 +0200
commit90f06cbe0b2ff3b1a9d85d2f73fe5864e692341b (patch)
tree17139070c9ac144f9cd214a01e4af5e86a895dbe /src/main/resources/config/locationConfig.js
parentPrevent user from sticking to connection if it was reset. (diff)
downloadbwlp-guacamole-ext-90f06cbe0b2ff3b1a9d85d2f73fe5864e692341b.tar.gz
bwlp-guacamole-ext-90f06cbe0b2ff3b1a9d85d2f73fe5864e692341b.tar.xz
bwlp-guacamole-ext-90f06cbe0b2ff3b1a9d85d2f73fe5864e692341b.zip
Add location selection
Diffstat (limited to 'src/main/resources/config/locationConfig.js')
-rw-r--r--src/main/resources/config/locationConfig.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/resources/config/locationConfig.js b/src/main/resources/config/locationConfig.js
new file mode 100644
index 0000000..6074752
--- /dev/null
+++ b/src/main/resources/config/locationConfig.js
@@ -0,0 +1,11 @@
+angular.module('location').config(['formServiceProvider',
+ function locationConfig(formServiceProvider) {
+
+ // Define field for the TOTP code provided by the user
+ formServiceProvider.registerFieldType('LOCATION', {
+ module : 'location',
+ controller : 'locationFieldController',
+ templateUrl : 'app/ext/bwlp/templates/locationField.html'
+ });
+
+ }]); \ No newline at end of file