Dmitry Yu Okunev лет назад: 5
Родитель
Сommit
0571dd3f43
1 измененных файлов с 2 добавлено и 2 удалено
  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);