diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-17 18:04:07 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-20 20:51:15 +0200 |
commit | 55962c5f5ad0e03618a0a3c1267d72c8f607e2dd (patch) | |
tree | 3868357e79c67cb75b91feca5e5cbfe680eaff5e /apps/encryption/js/settings-personal.js | |
parent | 3bc5c1c3cf285baa4d0ceabaa09c49f85c1ae4f8 (diff) | |
download | nextcloud-server-55962c5f5ad0e03618a0a3c1267d72c8f607e2dd.tar.gz nextcloud-server-55962c5f5ad0e03618a0a3c1267d72c8f607e2dd.zip |
make jshint happy
This reverts commit ae681f0061f534b48b45cf9a41f6110c0ff20b1d.
Diffstat (limited to 'apps/encryption/js/settings-personal.js')
-rw-r--r-- | apps/encryption/js/settings-personal.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/encryption/js/settings-personal.js b/apps/encryption/js/settings-personal.js index 68609877c05..601bf22d78d 100644 --- a/apps/encryption/js/settings-personal.js +++ b/apps/encryption/js/settings-personal.js @@ -4,7 +4,7 @@ * See the COPYING-README file. */ -function updatePrivateKeyPasswd() { +function updatePrivateKeyPassword() { var oldPrivateKeyPassword = $('input:password[id="oldPrivateKeyPassword"]').val(); var newPrivateKeyPassword = $('input:password[id="newPrivateKeyPassword"]').val(); OC.msg.startSaving('#encryption .msg'); @@ -26,9 +26,9 @@ $(document).ready(function(){ var recoveryStatus = $( this ).val(); OC.msg.startAction('#userEnableRecovery .msg', 'Updating recovery keys. This can take some time...'); $.post( - OC.generateUrl('/apps/encryption/ajax/userSetRecovery') - , { userEnableRecovery: recoveryStatus } - , function( data ) { + OC.generateUrl('/apps/encryption/ajax/userSetRecovery'), + { userEnableRecovery: recoveryStatus }, + function( data ) { OC.msg.finishedAction('#userEnableRecovery .msg', data); } ); @@ -45,7 +45,7 @@ $(document).ready(function(){ if (newPrivateKeyPassword !== '' && oldPrivateKeyPassword !== '' ) { $('button:button[name="submitChangePrivateKeyPassword"]').removeAttr("disabled"); if(event.which === 13) { - updatePrivateKeyPasswd(); + updatePrivateKeyPassword(); } } else { $('button:button[name="submitChangePrivateKeyPassword"]').attr("disabled", "true"); @@ -53,7 +53,7 @@ $(document).ready(function(){ }); $('button:button[name="submitChangePrivateKeyPassword"]').click(function() { - updatePrivateKeyPasswd(); + updatePrivateKeyPassword(); }); }); |