mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Fixed error in login functions and prepared home controller
This commit is contained in:
@ -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){},
|
||||
|
||||
|
||||
},
|
||||
},
|
||||
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user