aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-10-23 15:20:31 +0200
committerVincent Petry <pvince81@owncloud.com>2013-10-23 15:21:18 +0200
commit5aeafab9ab62b9af415229cac56ed564c10eee74 (patch)
tree8b04447ffffff86fc3b449faff3513b9cf72ab8f
parent2d14daf36bf6c808e55895c78b42144942b73246 (diff)
downloadnextcloud-server-5aeafab9ab62b9af415229cac56ed564c10eee74.tar.gz
nextcloud-server-5aeafab9ab62b9af415229cac56ed564c10eee74.zip
Fixed wrong id when reading checkbox value for force SSL setting
Fixes #5488
-rw-r--r--settings/js/admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js
index f2d6f37a51a..e957bd68f1f 100644
--- a/settings/js/admin.js
+++ b/settings/js/admin.js
@@ -32,6 +32,6 @@ $(document).ready(function(){
});
$('#security').change(function(){
- $.post(OC.filePath('settings','ajax','setsecurity.php'), { enforceHTTPS: $('#enforceHTTPSEnabled').val() },function(){} );
+ $.post(OC.filePath('settings','ajax','setsecurity.php'), { enforceHTTPS: $('#forcessl').val() },function(){} );
});
});