Add some bug corrections in view function (openInTab)
Add some bug corrections in view function (openInTab)

rdebroiz/medInria-public,NicolasSchnitzler/medInria-public,NicolasSchnitzler/medInria-public,aabadie/medInria-public,aabadie/medInria-public,rdebroiz/medInria-public,rdebroiz/medInria-public,NicolasSchnitzler/medInria-public,aabadie/medInria-public