summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates/server-settings.html
diff options
context:
space:
mode:
authorSimon Rettberg2017-04-13 18:08:31 +0200
committerSimon Rettberg2017-04-13 18:08:31 +0200
commitfaf18b816b6fecce5ab5023a2d87fe1f2d44f132 (patch)
tree7f48d583c9efe5b4d7e528654e69f1123e88dd70 /modules-available/locationinfo/templates/server-settings.html
parent[locations] Return recursive list of children in getLocationsAssoc() (diff)
downloadslx-admin-faf18b816b6fecce5ab5023a2d87fe1f2d44f132.tar.gz
slx-admin-faf18b816b6fecce5ab5023a2d87fe1f2d44f132.tar.xz
slx-admin-faf18b816b6fecce5ab5023a2d87fe1f2d44f132.zip
[locationinfo] Refactor the main view
- Simplify javascript - Remove client count and locationid column from view, not useful for the average user - Remove/simplify queries, use Location helper more to deal with locations
Diffstat (limited to 'modules-available/locationinfo/templates/server-settings.html')
-rw-r--r--modules-available/locationinfo/templates/server-settings.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/locationinfo/templates/server-settings.html b/modules-available/locationinfo/templates/server-settings.html
index a3e81272..c135543f 100644
--- a/modules-available/locationinfo/templates/server-settings.html
+++ b/modules-available/locationinfo/templates/server-settings.html
@@ -84,7 +84,7 @@
type = $('#input-type-{{id}}').val();
}
- loadCredentials();
+ loadCredentials(true);
initalizeBootstrap();
/**
@@ -101,7 +101,7 @@
*
* @param {bool} useValue If false the form elements will be empty. Default = true.
*/
- function loadCredentials(useValue = true) {
+ function loadCredentials(useValue) {
// {{name}} name of auth {{type}} type of auth (string, int etc.) {{value}} value from the db
{{#backendList}}
if (type == "{{typ}}") {