Minor updates for IDAA's Novi site.
This commit is contained in:
@@ -17,7 +17,7 @@ console.log(`Novi's Current User's ID: ${novi_customer_uid}`);
|
||||
// var novi_current_user_role = '<%=Novi.User.xyz%>';
|
||||
// console.log(`Novi's Current User's Role: ${novi_current_user_role}`);
|
||||
|
||||
let novi_api_root_url = 'https://idaa.novistaging.com/api';
|
||||
let novi_api_root_url = 'https://www.idaa.org/api';
|
||||
let novi_api_key_for_idaa = 'CmNdWgdPmgluBWjiTd8xsUCk5mio8F1O9DYAh0pVDcg=';
|
||||
|
||||
let novi_current_user_obj = null;
|
||||
|
||||
@@ -17,7 +17,7 @@ console.log(`Novi's Current User's ID: ${novi_customer_uid}`);
|
||||
// var novi_current_user_role = '<%=Novi.User.xyz%>';
|
||||
// console.log(`Novi's Current User's Role: ${novi_current_user_role}`);
|
||||
|
||||
let novi_api_root_url = 'https://idaa.novistaging.com/api';
|
||||
let novi_api_root_url = 'https://www.idaa.org/api';
|
||||
let novi_api_key_for_idaa = 'CmNdWgdPmgluBWjiTd8xsUCk5mio8F1O9DYAh0pVDcg=';
|
||||
|
||||
let novi_current_user_obj = null;
|
||||
|
||||
@@ -17,7 +17,7 @@ console.log(`Novi's Current User's ID: ${novi_customer_uid}`);
|
||||
// var novi_current_user_role = '<%=Novi.User.xyz%>';
|
||||
// console.log(`Novi's Current User's Role: ${novi_current_user_role}`);
|
||||
|
||||
let novi_api_root_url = 'https://idaa.novistaging.com/api';
|
||||
let novi_api_root_url = 'https://www.idaa.org/api';
|
||||
let novi_api_key_for_idaa = 'CmNdWgdPmgluBWjiTd8xsUCk5mio8F1O9DYAh0pVDcg=';
|
||||
|
||||
let novi_current_user_obj = null;
|
||||
@@ -94,19 +94,6 @@ window.addEventListener('message', function(event) {
|
||||
}
|
||||
history.pushState({}, '', url);
|
||||
}
|
||||
|
||||
// Check if event_id is defined in the message
|
||||
if (event.data.event_id !== undefined) {
|
||||
console.log(`Got AE Event ID: ${event.data.event_id}`);
|
||||
idaa_ae_slct_event_id = event.data.event_id;
|
||||
|
||||
if (event.data.event_id) {
|
||||
url.searchParams.set('event_id', event.data.event_id);
|
||||
} else {
|
||||
url.searchParams.delete('event_id');
|
||||
}
|
||||
history.pushState({}, '', url);
|
||||
}
|
||||
} else {
|
||||
console.log(`No data in message? ${event}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user