Fix accidental deletion of if

This commit is contained in:
Michael Gapczynski 2013-05-02 11:59:11 -04:00 committed by Morris Jobke
parent a2c80bbc68
commit 7f9ff51308
1 changed files with 1 additions and 0 deletions

View File

@ -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 />';