From: Roeland Jago Douma Date: Tue, 14 Apr 2015 13:13:46 +0000 (+0200) Subject: Reset sharedialog values X-Git-Tag: v8.1.0beta1~111^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c456f5dee15a94450c20e27f9c22f86c1c7e554d;p=nextcloud-server.git Reset sharedialog values --- diff --git a/core/js/share.js b/core/js/share.js index 2eae6fa49a2..45c8889c950 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -982,6 +982,10 @@ $(document).ready(function() { } if (this.checked) { + // Reset password placeholder + $('#linkPassText').attr('placeholder', t('core', 'Choose a password for the public link')); + // Reset link + $('#linkText').val(''); var expireDateString = ''; if (oc_appconfig.core.defaultExpireDateEnabled) { var date = new Date().getTime();