summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-05-02 11:59:11 -0400
committerMorris Jobke <morris.jobke@gmail.com>2013-10-18 10:34:31 +0200
commit7f9ff51308eaa2a32314bf45198487e479500b9d (patch)
treedeb23a05ba4b736509bdf04dd25865eb7a45f7fd /core
parenta2c80bbc687af788d8a5a3c520a24ac223ddc714 (diff)
downloadnextcloud-server-7f9ff51308eaa2a32314bf45198487e479500b9d.tar.gz
nextcloud-server-7f9ff51308eaa2a32314bf45198487e479500b9d.zip
Fix accidental deletion of if
Diffstat (limited to 'core')
-rw-r--r--core/js/share.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/js/share.js b/core/js/share.js
index 734bbbfe0ba..12c35511fbf 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 />';