Fix bug JS when sharing file.
Merge branch 'master' into feature/intranet-homepage