From 2727c57ae8d0a2d36d9c5cad39790a6640401cac Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Tue, 17 May 2022 14:39:49 +0200 Subject: Port admin federated files sharing to vue Signed-off-by: Carl Schwan --- apps/federatedfilesharing/js/settings-admin.js | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 apps/federatedfilesharing/js/settings-admin.js (limited to 'apps/federatedfilesharing/js') diff --git a/apps/federatedfilesharing/js/settings-admin.js b/apps/federatedfilesharing/js/settings-admin.js deleted file mode 100644 index 33e03af6a0d..00000000000 --- a/apps/federatedfilesharing/js/settings-admin.js +++ /dev/null @@ -1,11 +0,0 @@ -window.addEventListener('DOMContentLoaded', function() { - - $('#fileSharingSettings input').change(function() { - var value = 'no'; - if (this.checked) { - value = 'yes'; - } - OCP.AppConfig.setValue('files_sharing', $(this).attr('name'), value); - }); - -}); -- cgit v1.2.3