diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2015-04-14 15:13:46 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2015-04-17 09:38:09 +0200 |
commit | c456f5dee15a94450c20e27f9c22f86c1c7e554d (patch) | |
tree | 0c558891fe9d5d40732bf72bdc4e4b5363f39c35 /core/js/share.js | |
parent | f32d97750c33942db53a56d1deceacb2ed3e779b (diff) | |
download | nextcloud-server-c456f5dee15a94450c20e27f9c22f86c1c7e554d.tar.gz nextcloud-server-c456f5dee15a94450c20e27f9c22f86c1c7e554d.zip |
Reset sharedialog values
Diffstat (limited to 'core/js/share.js')
-rw-r--r-- | core/js/share.js | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |