summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/js/settings-admin.js
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-09-18 16:08:29 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2013-09-18 16:08:29 +0200
commit4edd8b8303c5b416e4522f59bc705206842afdf4 (patch)
tree4c101d7a846265bbe9700e422361b51b5f35542a /apps/files_encryption/js/settings-admin.js
parent5fb0e257a4e7b16024389261cfe924f53deb69ae (diff)
downloadnextcloud-server-4edd8b8303c5b416e4522f59bc705206842afdf4.tar.gz
nextcloud-server-4edd8b8303c5b416e4522f59bc705206842afdf4.zip
remove debug output
Diffstat (limited to 'apps/files_encryption/js/settings-admin.js')
-rw-r--r--apps/files_encryption/js/settings-admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/js/settings-admin.js b/apps/files_encryption/js/settings-admin.js
index 82fdb517088..7e22623d1c0 100644
--- a/apps/files_encryption/js/settings-admin.js
+++ b/apps/files_encryption/js/settings-admin.js
@@ -75,7 +75,7 @@ $(document).ready(function(){
var oldRecoveryPassword = $('#oldEncryptionRecoveryPassword').val();
var newRecoveryPassword = $('#newEncryptionRecoveryPassword').val();
var newRecoveryPasswordRepeated = $('#repeatedNewEncryptionRecoveryPassword').val();
- console.log("new: " + newRecoveryPassword + " - repeated: " + newRecoveryPasswordRepeated);
+
if (newRecoveryPassword !== '' && oldRecoveryPassword !== '' && newRecoveryPassword === newRecoveryPasswordRepeated) {
$('button:button[name="submitChangeRecoveryKey"]').removeAttr("disabled");
} else {