aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-10-15 12:30:31 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-10-15 12:30:31 +0200
commitd18da08a1a118344dd378855579baaea1f843011 (patch)
treedb6f7cbcc2e51283484c83af013d9f4fe467b565 /core
parentdd0b1e83b22492bcfb79fe2b2539f177889ce312 (diff)
downloadnextcloud-server-d18da08a1a118344dd378855579baaea1f843011.tar.gz
nextcloud-server-d18da08a1a118344dd378855579baaea1f843011.zip
set password field placeholder back if passward was disabled
Diffstat (limited to 'core')
-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();