From 7f9ff51308eaa2a32314bf45198487e479500b9d Mon Sep 17 00:00:00 2001 From: Michael Gapczynski <mtgap@owncloud.com> Date: Thu, 2 May 2013 11:59:11 -0400 Subject: [PATCH] Fix accidental deletion of if --- core/js/share.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/js/share.js b/core/js/share.js index 734bbbfe0b..12c35511fb 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -209,6 +209,7 @@ OC.Share={ linksAllowed = true; } }}); + if (link && linksAllowed) { html += '<div id="link">'; html += '<input type="checkbox" name="linkCheckbox" id="linkCheckbox" value="1" /><label for="linkCheckbox">'+t('core', 'Share with link')+'</label>'; html += '<br />'; -- GitLab