diff --git a/src/routes/idaa/(idaa)/+layout.svelte b/src/routes/idaa/(idaa)/+layout.svelte index dd03fb36..ab14130e 100644 --- a/src/routes/idaa/(idaa)/+layout.svelte +++ b/src/routes/idaa/(idaa)/+layout.svelte @@ -3,6 +3,8 @@ export let data: any; import { ae_snip, ae_loc, ae_sess, ae_api, ae_trig, slct, slct_trigger } from '$lib/ae_stores'; let log_lvl = 0; + +$ae_loc.url_origin = data.url.origin; diff --git a/src/routes/idaa/(idaa)/bb/+page.svelte b/src/routes/idaa/(idaa)/bb/+page.svelte index 250ad64c..47021848 100644 --- a/src/routes/idaa/(idaa)/bb/+page.svelte +++ b/src/routes/idaa/(idaa)/bb/+page.svelte @@ -105,6 +105,10 @@ $: lq__post_comment_obj = liveQuery(async () => { placement="top-center" size="lg" class="bg-white dark:bg-gray-800 text-gray-800 dark:text-gray-200 rounded-lg border-gray-200 dark:border-gray-700 divide-gray-200 dark:divide-gray-700 shadow-md relative flex flex-col mx-auto w-full divide-y" + on:close={() => { + // We want to cancel the inline edit if the modal is closed + $idaa_sess.bb.show__inline_edit__post_obj = false; + }} > diff --git a/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_edit.svelte b/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_edit.svelte index 32fa680b..a9411d2f 100644 --- a/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_edit.svelte +++ b/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_edit.svelte @@ -1,7 +1,8 @@ @@ -381,7 +427,7 @@ async function handle_hosted_files_uploaded(hosted_file_id_li: string[], hosted_ link_to_id: $idaa_slct.post_id, rm_orphan: true, fake_delete: false, - log_lvl: 1 + log_lvl: log_lvl }) .then(function (delete_result) { // Second - If deleted, then update the post_obj diff --git a/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_view.svelte b/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_view.svelte index 35ff3263..0d242f35 100644 --- a/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_view.svelte +++ b/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_view.svelte @@ -229,7 +229,7 @@ onDestroy(() => {