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

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