Minor updates for IDAA's Novi site.
This commit is contained in:
@@ -1004,9 +1004,9 @@ async function handle_delete_event_obj(
|
||||
style=""
|
||||
on:click={() => {
|
||||
if (confirm('Are you sure you want to remove the text for the additional details?')) {
|
||||
$idaa_slct.event_obj.recurring_text = '<p>test</p>';
|
||||
// $idaa_slct.event_obj.recurring_text_new_html = '';
|
||||
$idaa_slct.event_obj.show_recurring_text = false;
|
||||
$idaa_slct.event_obj.recurring_text = '';
|
||||
$idaa_slct.event_obj.recurring_text_new_html = '';
|
||||
// $idaa_slct.event_obj.show_recurring_text = false;
|
||||
console.log($idaa_slct.event_obj.recurring_text);
|
||||
} else {
|
||||
return false;
|
||||
|
||||
@@ -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