Fix check in Javascript for password protected link

This commit is contained in:
Michael Gapczynski 2012-09-01 13:52:12 -04:00
parent 29d1e8087d
commit 5a9a795cd5
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}