diff options
author | Jakob Sack <mail@jakobsack.de> | 2012-08-09 10:41:10 +0200 |
---|---|---|
committer | Jakob Sack <mail@jakobsack.de> | 2012-08-09 10:41:10 +0200 |
commit | 1ce2cd73ffd9c76912f8ba03809a5b347cec38a9 (patch) | |
tree | 62c4462c94de94965be7f6def7f350404608998f /settings/js | |
parent | 889f0a1c6df51c5b6495445809143940ad17c327 (diff) | |
download | nextcloud-server-1ce2cd73ffd9c76912f8ba03809a5b347cec38a9.tar.gz nextcloud-server-1ce2cd73ffd9c76912f8ba03809a5b347cec38a9.zip |
Add first version of backgroundjobs settings
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 |