mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Fix check in Javascript for password protected link
This commit is contained in:
parent
29d1e8087d
commit
5a9a795cd5
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ OC.Share={
|
|||
$('#linkText').val(link);
|
||||
$('#linkText').show('blind');
|
||||
$('#showPassword').show();
|
||||
if (password.length > 0) {
|
||||
if (password != null) {
|
||||
$('#linkPass').show('blind');
|
||||
$('#linkPassText').attr('placeholder', 'Password protected');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue