Merge pull request #11594 from owncloud/sharing_toggle_password
set password field placeholder back if passward was disabled
This commit is contained in:
commit
eceb1d03cb
1 changed files with 1 additions and 0 deletions
|
@ -1025,6 +1025,7 @@ $(document).ready(function() {
|
||||||
$loading.removeClass('hidden');
|
$loading.removeClass('hidden');
|
||||||
OC.Share.share(itemType, itemSource, OC.Share.SHARE_TYPE_LINK, '', permissions, itemSourceName).then(function() {
|
OC.Share.share(itemType, itemSource, OC.Share.SHARE_TYPE_LINK, '', permissions, itemSourceName).then(function() {
|
||||||
$loading.addClass('hidden');
|
$loading.addClass('hidden');
|
||||||
|
$('#linkPassText').attr('placeholder', t('core', 'Choose a password for the public link'));
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
$('#linkPassText').focus();
|
$('#linkPassText').focus();
|
||||||
|
|
Loading…
Reference in a new issue