nextcloud/settings/js/admin.js

5 lines
159 B
JavaScript

$(document).ready(function(){
$('#loglevel').change(function(){
$.post(OC.filePath('settings','ajax','setloglevel.php'), { level: $(this).val() } );
})
});