Clean up to get ready for CMSC and LCI.
This commit is contained in:
@@ -354,17 +354,17 @@ if ($ae_loc.site_access_key || $ae_loc.site_domain_access_key) {
|
||||
|
||||
// BEGIN: Special Checks for Events, Sponsorships, IDAA, CHOW, etc.:
|
||||
// There should almost always be an event_id set.
|
||||
if ($ae_loc?.site_cfg_json?.slct__event_id) {
|
||||
$events_slct.event_id = $ae_loc.site_cfg_json.slct__event_id;
|
||||
$events_loc.event_id = $ae_loc.site_cfg_json.slct__event_id;
|
||||
} else if ($events_slct?.event_id) {
|
||||
// console.log(`Event ID already set:`, $events_slct.event_id);
|
||||
$events_loc.event_id = $events_slct.event_id;
|
||||
} else {
|
||||
if (log_lvl > 1) {
|
||||
console.log(`No Event ID set!`);
|
||||
}
|
||||
}
|
||||
// if ($ae_loc?.site_cfg_json?.slct__event_id) {
|
||||
// $events_slct.event_id = $ae_loc.site_cfg_json.slct__event_id;
|
||||
// $events_loc.event_id = $ae_loc.site_cfg_json.slct__event_id;
|
||||
// } else if ($events_slct?.event_id) {
|
||||
// // console.log(`Event ID already set:`, $events_slct.event_id);
|
||||
// $events_loc.event_id = $events_slct.event_id;
|
||||
// } else {
|
||||
// if (log_lvl > 1) {
|
||||
// console.log(`No Event ID set!`);
|
||||
// }
|
||||
// }
|
||||
|
||||
// This is mainly for Precon CHOW
|
||||
if ($ae_loc?.site_cfg_json?.slct__sponsorship_cfg_id) {
|
||||
|
||||
Reference in New Issue
Block a user