Merge pull request #5492 from owncloud/admin-forcesslwrongid

Fixed wrong id when reading checkbox value for force SSL setting
This commit is contained in:
Thomas Müller 2013-10-23 10:37:52 -07:00
commit 30cf7fee11
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(){} );
});
});