nextcloud/settings/js/admin.js

7 lines
195 B
JavaScript

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