]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fixed wrong id when reading checkbox value for force SSL setting
authorVincent Petry <pvince81@owncloud.com>
Wed, 23 Oct 2013 13:20:31 +0000 (15:20 +0200)
committerVincent Petry <pvince81@owncloud.com>
Wed, 23 Oct 2013 13:21:18 +0000 (15:21 +0200)
Fixes #5488

settings/js/admin.js

index f2d6f37a51a3494269e36240920be665311cf1a0..e957bd68f1fa309f4b8fe09345aeaf4ceba03fcb 100644 (file)
@@ -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(){} );
        });
 });