summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-05-04 13:00:17 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-05-04 13:13:31 +0200
commit6dc3682cc2fde9a508747f4af1e017a77d01faae (patch)
tree2cd3e0484276037672ab0f9d4e9692a84938b53b /settings/js
parent7376ea9b269af6cd6355ed9bf386097121c10c77 (diff)
downloadnextcloud-server-6dc3682cc2fde9a508747f4af1e017a77d01faae.tar.gz
nextcloud-server-6dc3682cc2fde9a508747f4af1e017a77d01faae.zip
don't let the the user disable encryption once it was activated
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/admin.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js
index 9cdb7f5b0f1..e10e1f915cb 100644
--- a/settings/js/admin.js
+++ b/settings/js/admin.js
@@ -55,6 +55,7 @@ $(document).ready(function(){
});
$('#encryptionEnabled').change(function() {
+ $('#encryptionAPI div#EncryptionWarning').toggleClass('hidden');
$('#encryptionAPI div#EncryptionSettingsArea').toggleClass('hidden');
});