diff --git a/assets/js/components/menuBar/authenticated.js b/assets/js/components/menuBar/authenticated.js index d8ae51c1..efd81412 100644 --- a/assets/js/components/menuBar/authenticated.js +++ b/assets/js/components/menuBar/authenticated.js @@ -77,18 +77,18 @@ ComunicWeb.components.menuBar.authenticated = { //Add conversations link - // var conversationsButton = createElem2({ - // appendTo: dropdownContent, - // type: "li" - // }); - // var conversationsLink = createElem2({ - // appendTo: conversationsButton, - // type: "a", - // innerHTML: "Conversations" - // }); - // conversationsButton.onclick = function(){ - // openPage("conversations"); - // }; + var conversationsButton = createElem2({ + appendTo: dropdownContent, + type: "li" + }); + var conversationsLink = createElem2({ + appendTo: conversationsButton, + type: "a", + innerHTML: "Conversations" + }); + conversationsButton.onclick = function(){ + openPage("conversations"); + }; //Add settings link var settingsButton = createElem2({ diff --git a/assets/js/pages/conversations/listPane.js b/assets/js/pages/conversations/listPane.js index 73076562..6a4a7835 100644 --- a/assets/js/pages/conversations/listPane.js +++ b/assets/js/pages/conversations/listPane.js @@ -62,7 +62,8 @@ ComunicWeb.pages.conversations.listPane = { }, 5000); - //Load the list of conversations + //Force load the list of conversations + ComunicWeb.pages.conversations.listPane._curr_list = null; ComunicWeb.pages.conversations.listPane.refresh_list(boxBody, args); },