Fixed error in login functions and prepared home controller

This commit is contained in:
Pierre
2017-02-18 18:26:30 +01:00
parent 82b009bdcc
commit 1fb2507742
7 changed files with 140 additions and 15 deletions

View File

@ -240,18 +240,43 @@ var ComunicWeb = {
/**
* Refresh the user login state
*/
refreshLoginState: function(){},
refreshLoginState: function(afterLogin){},
/**
* Try to login user
*/
loginUser: function(usermail, userpassword, permanentLogin, afterLogin){},
},
/**
* Get user infos
*/
userInfos: {
//TODO: implement
}
},
},
/**
* Pages functions
*/
pages:{
/**
* Home page
*/
home: {
/**
* Common homes functions
*/
home:{
/**
* Open home page
*/
openHomePage: function(additionnalData, targetElement){},
},
},
},
}