Fix check in Javascript for password protected link
This commit is contained in:
parent
29d1e8087d
commit
5a9a795cd5
|
@ -277,7 +277,7 @@ OC.Share={
|
||||||
$('#linkText').val(link);
|
$('#linkText').val(link);
|
||||||
$('#linkText').show('blind');
|
$('#linkText').show('blind');
|
||||||
$('#showPassword').show();
|
$('#showPassword').show();
|
||||||
if (password.length > 0) {
|
if (password != null) {
|
||||||
$('#linkPass').show('blind');
|
$('#linkPass').show('blind');
|
||||||
$('#linkPassText').attr('placeholder', 'Password protected');
|
$('#linkPassText').attr('placeholder', 'Password protected');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue