mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-25 21:39:21 +00:00
Added conversation page to top menu
This commit is contained in:
parent
8777832600
commit
f41ac3b107
@ -77,18 +77,18 @@ ComunicWeb.components.menuBar.authenticated = {
|
|||||||
|
|
||||||
|
|
||||||
//Add conversations link
|
//Add conversations link
|
||||||
// var conversationsButton = createElem2({
|
var conversationsButton = createElem2({
|
||||||
// appendTo: dropdownContent,
|
appendTo: dropdownContent,
|
||||||
// type: "li"
|
type: "li"
|
||||||
// });
|
});
|
||||||
// var conversationsLink = createElem2({
|
var conversationsLink = createElem2({
|
||||||
// appendTo: conversationsButton,
|
appendTo: conversationsButton,
|
||||||
// type: "a",
|
type: "a",
|
||||||
// innerHTML: "Conversations"
|
innerHTML: "Conversations"
|
||||||
// });
|
});
|
||||||
// conversationsButton.onclick = function(){
|
conversationsButton.onclick = function(){
|
||||||
// openPage("conversations");
|
openPage("conversations");
|
||||||
// };
|
};
|
||||||
|
|
||||||
//Add settings link
|
//Add settings link
|
||||||
var settingsButton = createElem2({
|
var settingsButton = createElem2({
|
||||||
|
@ -62,7 +62,8 @@ ComunicWeb.pages.conversations.listPane = {
|
|||||||
|
|
||||||
}, 5000);
|
}, 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);
|
ComunicWeb.pages.conversations.listPane.refresh_list(boxBody, args);
|
||||||
|
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user