Improvements and other minor fixes. Wrapping up for the night.

This commit is contained in:
Scott Idem
2025-07-10 21:10:06 -04:00
parent 1e35681116
commit 6e4649882c
7 changed files with 37 additions and 9 deletions

View File

@@ -48,6 +48,7 @@ if (browser) {
}
if ($idaa_loc.bb.edit__post_obj) {
obj_changed = true; // This is an odd workaround to make new posts saveable.
$idaa_sess.bb.edit__post_obj = $idaa_loc.bb.edit__post_obj;
$idaa_loc.bb.edit__post_obj = false;
}

View File

@@ -141,6 +141,8 @@ if (log_lvl) console.log('** Component Loaded: ** Post Options');
return false;
}
$idaa_slct.post_obj = {};
let data_kv = {
external_person_id: $idaa_loc.novi_uuid,
title: 'Change Me',
@@ -161,6 +163,9 @@ if (log_lvl) console.log('** Component Loaded: ** Post Options');
console.log('New post created:', results);
}
$idaa_slct.post_id = results?.post_id_random;
$idaa_slct.post_obj = {
...results
};
$idaa_sess.bb.edit__post_obj = $idaa_slct.post_id;
$idaa_loc.bb.edit__post_obj = $idaa_slct.post_id;
// if (!$idaa_loc.bb.edit_kv) {