mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Created groups main page
This commit is contained in:
@ -90,6 +90,20 @@ ComunicWeb.components.menuBar.authenticated = {
|
||||
openPage("conversations");
|
||||
};
|
||||
|
||||
//Add groups link
|
||||
var groupsButton = createElem2({
|
||||
appendTo: dropdownContent,
|
||||
type: "li"
|
||||
});
|
||||
createElem2({
|
||||
appendTo: groupsButton,
|
||||
type: "a",
|
||||
innerHTML: "Groups"
|
||||
});
|
||||
groupsButton.onclick = function(){
|
||||
openPage("groups");
|
||||
}
|
||||
|
||||
//Add settings link
|
||||
var settingsButton = createElem2({
|
||||
appendTo: dropdownContent,
|
||||
|
Reference in New Issue
Block a user