Split menubar elements in multiple parts

This commit is contained in:
Pierre
2017-05-24 14:31:56 +02:00
parent 2e85aa9c21
commit 3020abc4bf
6 changed files with 46 additions and 7 deletions

View File

@ -318,7 +318,20 @@ var ComunicWeb = {
* Menubar
*/
menuBar: {
//TODO: implement
/**
* Menu bar object - common methods
*/
common:{
//TODO : implement
},
/**
* Not authenticated menu bar components
*/
notAuthenticated: {
//TODO : implement
}
},
},

View File

@ -172,7 +172,7 @@ ComunicWeb.common.page = {
document.body.className="hold-transition skin-blue layout-top-nav";
//We load the menubar
ComunicWeb.components.menuBar.display();
ComunicWeb.components.menuBar.common.display();
}
//Check if some additionnal data was specified