summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-07-05 15:27:14 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-07-05 15:27:14 +0200
commit18b11f76b1e1a4e77ccf5e618f5312538db93532 (patch)
tree96d11c5c8076a557492c76549e827e6cba570dd3
parent59b700a5504549508ecde1f83469824840f55d90 (diff)
downloadnextcloud-server-18b11f76b1e1a4e77ccf5e618f5312538db93532.tar.gz
nextcloud-server-18b11f76b1e1a4e77ccf5e618f5312538db93532.zip
fixing === and ident
-rw-r--r--core/js/share.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/js/share.js b/core/js/share.js
index ced1e0aa8ca..21e352ee1c6 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -181,12 +181,12 @@ 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)) {
- 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>';
- html += '</div>';
- }
+ 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>';
+ html += '</div>';
+ }
html += '</div><form id="emailPrivateLink" >';
html += '<input id="email" style="display:none; width:62%;" value="" placeholder="'+t('core', 'Email link to person')+'" type="text" />';
html += '<input id="emailButton" style="display:none;" type="submit" value="'+t('core', 'Send')+'" />';