From 5aeafab9ab62b9af415229cac56ed564c10eee74 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 23 Oct 2013 15:20:31 +0200 Subject: [PATCH] Fixed wrong id when reading checkbox value for force SSL setting Fixes #5488 --- settings/js/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/js/admin.js b/settings/js/admin.js index f2d6f37a51..e957bd68f1 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(){} ); }); });