fixing === and ident

This commit is contained in:
Thomas Müller 2013-07-05 15:27:14 +02:00
parent 59b700a550
commit 18b11f76b1
1 changed files with 6 additions and 6 deletions

View File

@ -181,7 +181,7 @@ OC.Share={
html += '<div id="linkPass">';
html += '<input id="linkPassText" type="password" placeholder="'+t('core', 'Password')+'" />';
html += '</div>';
if (itemType == 'folder' && (possiblePermissions & OC.PERMISSION_CREATE)) {
if (itemType === 'folder' && (possiblePermissions & OC.PERMISSION_CREATE)) {
html += '<div id="allowPublicUploadWrapper" style="display:none;">';
html += '<input type="checkbox" value="1" name="allowPublicUpload" id="sharingDialogAllowPublicUpload"' + ((allowPublicUploadStatus) ? 'checked="checked"' : '') + ' />';
html += '<label for="sharingDialogAllowPublicUpload">' + t('core', 'Allow Public Upload') + '</label>';