Fix bug where clicking on the link icon on a file would result in "L#undefined" in the URL
Fix bug where clicking on the link icon on a file would result in "L#undefined" in the URL

Closes #2002

michaKFromParis/gitlabhqold,ksoichiro/gitlabhq,michaKFromParis/gitlabhq,michaKFromParis/gitlabhq,ksoichiro/gitlabhq,michaKFromParis/gitlabhqold,michaKFromParis/gitlabhq,ksoichiro/gitlabhq,screenpages/gitlabhq,michaKFromParis/gitlabhq,michaKFromParis/gitlabhqold,screenpages/gitlabhq,screenpages/gitlabhq,michaKFromParis/gitlabhqold,ksoichiro/gitlabhq,screenpages/gitlabhq