-
-
+
+
${member.peg}
-
-
+
+
+ ${member.section}
+
+
${fullname}
-
+
-
@@ -139,11 +138,13 @@ function loadTeams(teams, highlightText="") {
});
});
+ activateTooltips(); // activate the new tooltips
+
// Highlight all instances where the text matches the search critera
if (!isEmptyOrSpaces(highlightText)) {
$("#teamsContainer").find('.team-member-fullname').each(function() {
var regex = new RegExp(highlightText, 'gi');
- $(this).html($(this).text().replace(regex, '
$&'));
+ $(this).html($(this).text().replace(regex, '
$&'));
});
}
@@ -185,7 +186,7 @@ function fetchAndLoadTeams(search="", sortTeams="", sortMembers="") {
"sortTeams": sortTeams,
"sortMembers": sortMembers
},
- error: (xhr, textStatus, errorThrown) => { alert(errorThrown); },
+ error: (xhr, textStatus, errorThrown) => { alert(xhr + " " + textStatus + " " + errorThrown); },
success: (result) => {
teamsLoading(false);
loadTeams(result.teams, search);
@@ -294,7 +295,7 @@ function saveEditMemberModal(memberId) {
"pegNumber": pegNumber,
"search": !isEmptyOrSpaces(search) ? search : null
},
- error: (xhr, textStatus, errorThrown) => { alert(errorThrown); },
+ error: (xhr, textStatus, errorThrown) => { alert(xhr + " " + textStatus + " " + errorThrown); },
success: (result) => {
teamsLoading(false);
loadTeams(result.teams, search);