From 5fad45b2309426c5b91af1d87beaa9950eadc5ba Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Tue, 13 Oct 2015 17:54:06 +0200 Subject: make encryption configurable for home storage --- apps/encryption/js/settings-admin.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/encryption/js') diff --git a/apps/encryption/js/settings-admin.js b/apps/encryption/js/settings-admin.js index 39923718c21..9b00a4ec627 100644 --- a/apps/encryption/js/settings-admin.js +++ b/apps/encryption/js/settings-admin.js @@ -76,4 +76,13 @@ $(document).ready(function () { }); }); + $('#encryptHomeStorage').change(function() { + $.post( + OC.generateUrl('/apps/encryption/ajax/setEncryptHomeStorage'), + { + encryptHomeStorage: this.checked + } + ); + }); + }); -- cgit v1.2.3