aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/js/share.js4
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();