Upgraded openUserPage function

This commit is contained in:
Pierre HUBERT
2018-07-14 14:18:21 +02:00
parent 665cbb8374
commit 51c248e463
10 changed files with 22 additions and 9 deletions

View File

@ -159,7 +159,7 @@ ComunicWeb.components.friends.bar = {
//Make the link lives
friendLink.onclick = function(){
openUserPage(userIDorPath(userInfos));
openUserPage(userInfos);
//For the responsive mode
ComunicWeb.components.friends.bar.toggleShowHide();

View File

@ -213,7 +213,7 @@ ComunicWeb.components.friends.listModal = {
userLink.onclick = function(){
//Open user page
openUserPage(userIDorPath(users["user-" + id]));
openUserPage(users["user-" + id]);
//Close all modals
$(".modal").modal("hide");

View File

@ -55,7 +55,7 @@ ComunicWeb.components.friends.ui = {
userLink.onclick = function(){
//Open user page
openUserPage(userIDorPath(user));
openUserPage(user);
//Close all modals
$(".modal").modal("hide");