Progress on search user component

This commit is contained in:
Pierre
2017-05-27 11:57:05 +02:00
parent 0effce56c2
commit 32cf8601f7
6 changed files with 82 additions and 9 deletions

View File

@ -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]);