mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Progress on search user component
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
* @author Pierre HUBERT
|
||||
*/
|
||||
|
||||
ComunicWeb.user.getUserInfos = {
|
||||
ComunicWeb.user.userInfos = {
|
||||
|
||||
/**
|
||||
* @var {String} User infos cache
|
||||
@ -30,6 +30,7 @@ ComunicWeb.user.getUserInfos = {
|
||||
}
|
||||
else{
|
||||
ComunicWeb.debug.logMessage("ERROR : getUserInfos not implemented for other user than the current one !");
|
||||
return false;
|
||||
}
|
||||
|
||||
//Specify what to do next
|
||||
@ -40,7 +41,7 @@ ComunicWeb.user.getUserInfos = {
|
||||
}
|
||||
|
||||
//Save result
|
||||
ComunicWeb.user.getUserInfos.usersInfos[""+userID] = result[0];
|
||||
ComunicWeb.user.userInfos.usersInfos[""+userID] = result[0];
|
||||
|
||||
//Return result
|
||||
afterGetUserInfos(result[0]);
|
||||
|
Reference in New Issue
Block a user