diff options
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/admin.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js index 4f295ab6f5d..409594a4b94 100644 --- a/settings/js/admin.js +++ b/settings/js/admin.js @@ -3,5 +3,11 @@ $(document).ready(function(){ $.post(OC.filePath('settings','ajax','setloglevel.php'), { level: $(this).val() },function(){ OC.Log.reload(); } ); - }) + }); + + $('#backgroundjobs input').change(function(){ + if($(this).attr('checked')){ + $.post(OC.filePath('settings','ajax','setbackgroundjobsmode.php'), { mode: $(this).val() }); + } + }); });
\ No newline at end of file |