in js/needinfo.js [46:76]
function loadConfig() {
let jsonUrl = 'js/config.json';
$.getJSON(jsonUrl, function (configdata) {
NeedInfoConfig = configdata.bugzillaconfig;
updateDomains(NeedInfoConfig);
let team = getTeam();
CurrentTeam = team;
if (team == undefined) {
window.location.href = window.location.href + "?team=empty"
return;
}
let sel = document.getElementById('team-select');
sel.value = team;
let userid = getUserId();
if (userid != undefined && team == 'empty') {
// individual account request
loadUserSummary(userid);
// get empty-option
document.getElementById('empty-option').text = userid;
return;
}
// Load the team summary
loadTeamConfig();
}).fail(function (jqXHR, textStatus, errorThrown) {
console.log("getJSON call failed for some reason.", jsonUrl, errorThrown)
});
}