"authenticated" queue of each team.
//
var mkws = {
authenticated: false,
- authName: undefined,
log_level: 1, // Will be overridden from mkws_config, but
// initial value allows jQuery popup to use logging.
teams: {},
log("Service proxy auth successfully done");
mkws.authenticated = true;
- mkws.authName = $(data).find("displayName").text();
+ var authName = $(data).find("displayName").text();
+ for (var teamName in mkws.teams) {
+ mkws.teams[teamName].queue("authenticated").publish(authName);
+ }
+
runAutoSearches();
});
}