One last fix for sprint O8
This commit is contained in:
@@ -602,8 +602,15 @@
|
||||
}
|
||||
if (fieldName == "Name") {
|
||||
$('span.spanUser' + _master_PersonEditedId + 'Name').text(result.NewValue);
|
||||
$('span.spanModalEditingPersonName').text(result.NewValue);
|
||||
}
|
||||
} else {
|
||||
else if (fieldName == "Mail") {
|
||||
$('span.spanUser' + _master_PersonEditedId + 'Mail').text(result.NewValue);
|
||||
}
|
||||
else if (fieldName == "Phone") {
|
||||
$('span.spanUser' + _master_PersonEditedId + 'Phone').text(result.NewValue);
|
||||
}
|
||||
} else {
|
||||
window[controlName + "_updateFailAnimate"](result.NewValue);
|
||||
if (result.DisplayMessage != '') {
|
||||
alertify.error(result.DisplayMessage);
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace Swarmops.Frontend.Pages.Swarm
|
||||
{
|
||||
string onePerson = '{' +
|
||||
String.Format (
|
||||
"\"id\":\"{0}\",\"name\":\"<span class='spanUser{0}Name'>{1}</span>\",\"avatar16Url\":\"{2}\",\"geographyName\":\"{3}\",\"mail\":\"{4}\",\"phone\":\"{5}\"",
|
||||
"\"id\":\"{0}\",\"name\":\"<span class='spanUser{0}Name'>{1}</span>\",\"avatar16Url\":\"{2}\",\"geographyName\":\"{3}\",\"mail\":\"<span class='spanUser{0}Mail'>{4}</span>\",\"phone\":\"<span class='spanUser{0}Phone'>{5}</span>\"",
|
||||
person.Identity,
|
||||
JsonSanitize (person.Canonical),
|
||||
person.GetSecureAvatarLink (16),
|
||||
|
||||
Reference in New Issue
Block a user