Fixed wrong id when reading checkbox value for force SSL setting

Fixes #5488
This commit is contained in:
Vincent Petry 2013-10-23 15:20:31 +02:00
parent 2d14daf36b
commit 5aeafab9ab
1 changed files with 1 additions and 1 deletions

View 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(){} );
});
});