Browse Source

Fixed photos

Dmitry Yu Okunev 3 years ago
parent
commit
0571dd3f43
1 changed files with 2 additions and 2 deletions
  1. 2 2
      person.html

+ 2 - 2
person.html

@@ -542,7 +542,7 @@
 				person.Formulars = [];
 			}
 			if (person.EmpGUID != null) {
-				$('#voipLink').attr('href', 'https://voip.mephi.ru/subscribers?Subscriber.PersonId='+personId+'&effectiveSecurityLevel=1024').css('display', 'inline-block');
+				$('#voipLink').attr('href', 'https://voip.mephi.ru/subscribers/'+personId+'?effectiveSecurityLevel=1024').css('display', 'inline-block');
 			} else {
 				$('#voipLink').css('display', 'none');
 			}
@@ -678,7 +678,7 @@
 	});
 
 	if (personId != null) {
-		changePhotoToURL('https://voip.mephi.ru/subscribers/.jpg?Subscriber.PersonId='+personId);
+		changePhotoToURL('https://voip.mephi.ru/subscribers/'+personId+'.jpg');
 		requestFaceInfo(personId);
 		requestFaceCPSInfo(personId);
 		requestFaceTimesheet(personId);