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

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