summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-10-17 11:32:29 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-10-17 11:32:29 +0200
commiteceb1d03cb1a035179bf42cbda324b6bf9ff7ff5 (patch)
treea5ef4d0c5d167bee0f2a4cb5f4001f66c2e0f692
parent263dc70bfdf28446b0f7e9162de205caaf55d257 (diff)
parentd18da08a1a118344dd378855579baaea1f843011 (diff)
downloadnextcloud-server-eceb1d03cb1a035179bf42cbda324b6bf9ff7ff5.tar.gz
nextcloud-server-eceb1d03cb1a035179bf42cbda324b6bf9ff7ff5.zip
Merge pull request #11594 from owncloud/sharing_toggle_password
set password field placeholder back if passward was disabled
-rw-r--r--core/js/share.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/js/share.js b/core/js/share.js
index 5632ecba971..1de990f379b 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -1025,6 +1025,7 @@ $(document).ready(function() {
$loading.removeClass('hidden');
OC.Share.share(itemType, itemSource, OC.Share.SHARE_TYPE_LINK, '', permissions, itemSourceName).then(function() {
$loading.addClass('hidden');
+ $('#linkPassText').attr('placeholder', t('core', 'Choose a password for the public link'));
});
} else {
$('#linkPassText').focus();