set password field placeholder back if passward was disabled

This commit is contained in:
Bjoern Schiessle 2014-10-15 12:30:31 +02:00
parent dd0b1e83b2
commit d18da08a1a
1 changed files with 1 additions and 0 deletions

View File

@ -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();