mirror of
https://github.com/nextcloud/server.git
synced 2026-03-22 18:33:46 -04:00
16 lines
No EOL
446 B
JavaScript
16 lines
No EOL
446 B
JavaScript
$(document).ready(function(){
|
|
$('#loglevel').change(function(){
|
|
$.post(OC.filePath('settings','ajax','setloglevel.php'), { level: $(this).val() },function(){
|
|
OC.Log.reload();
|
|
} );
|
|
});
|
|
|
|
$('#backgroundjobs input').change(function(){
|
|
if($(this).attr('checked')){
|
|
var mode = $(this).val();
|
|
if (mode == 'ajax' || mode == 'webcron' || mode == 'cron') {
|
|
OC.AppConfig.setValue('core', 'backgroundjobs_mode', mode);
|
|
}
|
|
}
|
|
});
|
|
}); |