diff options
Diffstat (limited to 'apps/settings/src/admin.js')
-rw-r--r-- | apps/settings/src/admin.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/apps/settings/src/admin.js b/apps/settings/src/admin.js index 8012dcb8863..833ed3e1ea9 100644 --- a/apps/settings/src/admin.js +++ b/apps/settings/src/admin.js @@ -14,22 +14,6 @@ window.addEventListener('DOMContentLoaded', () => { }) }) - $('#backgroundjobs span.crondate').tooltip({ placement: 'top' }) - - $('#backgroundjobs input').change(() => { - if ($(this).is(':checked')) { - const mode = $(this).val() - if (mode === 'ajax' || mode === 'webcron' || mode === 'cron') { - OCP.AppConfig.setValue('core', 'backgroundjobs_mode', mode, { - success: () => { - // clear cron errors on background job mode change - OCP.AppConfig.deleteKey('core', 'cronErrors') - } - }) - } - } - }) - $('#shareAPIEnabled').change(() => { $('#shareAPI p:not(#enable)').toggleClass('hidden', !this.checked) }) |