summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates/location-info.html
diff options
context:
space:
mode:
authorSimon Rettberg2017-04-21 12:31:25 +0200
committerSimon Rettberg2017-04-21 12:31:25 +0200
commitb7ad64152d434c6a6188c7c75a2d538432c44371 (patch)
tree6407f1a3e803c4c204518593f5f3d7375256c930 /modules-available/locationinfo/templates/location-info.html
parent[locationinfo] Properly support certificate and hostname verification (diff)
downloadslx-admin-b7ad64152d434c6a6188c7c75a2d538432c44371.tar.gz
slx-admin-b7ad64152d434c6a6188c7c75a2d538432c44371.tar.xz
slx-admin-b7ad64152d434c6a6188c7c75a2d538432c44371.zip
[locationinfo] Generate credentials in server-settings server side
There's no need to generate parameters server side that get passed to the template engine which generates javascript code that generates html snippets in the browser. We now generate everything server side right away.
Diffstat (limited to 'modules-available/locationinfo/templates/location-info.html')
-rw-r--r--modules-available/locationinfo/templates/location-info.html1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules-available/locationinfo/templates/location-info.html b/modules-available/locationinfo/templates/location-info.html
index c2242241..8af29df0 100644
--- a/modules-available/locationinfo/templates/location-info.html
+++ b/modules-available/locationinfo/templates/location-info.html
@@ -178,7 +178,6 @@
*/
function loadServerSettingsModal(serverid) {
$('#myModalHeader').text("{{lang_locationSettings}}").css("font-weight", "Bold");
- $('#myModalSubmitButton').attr("form", "settingsForm");
$('#myModal .modal-dialog').css('width', '');
$('#myModal').modal('show');
$('#myModalBody').load("?do=locationinfo&action=serverSettings&id=" + serverid);