git-svn-id: https://msi/svn/firstRepo/WebClient/branches/NewRelease@60 0f545695-f87b-41b6-9a03-7f16563b5454
This commit is contained in:
@@ -51,9 +51,12 @@ define(['jquery', 'underscore', 'backbone', 'router', 'classes/profile', 'classe
|
||||
gender = json.gender;
|
||||
}
|
||||
|
||||
if(gender !== "")
|
||||
if(gender === undefined)
|
||||
gender = "unknown";
|
||||
|
||||
if(email === undefined)
|
||||
email = "";
|
||||
|
||||
Debug.writeMessage('Your name is ' + json.name + ' in the social ' + auth.network + ", ID=" + id + ", DisplayName: "+ displayName + ", email:"+ email);
|
||||
|
||||
Profile._loadProfile(id, function (retVal) {
|
||||
|
||||
Reference in New Issue
Block a user