More work on getting the BB ready for IDAA. Improved notification handling. Bug fixes related to creating posts and comments.
This commit is contained in:
@@ -89,6 +89,7 @@ $: if ($idaa_trig.post_li) {
|
||||
api_cfg: $ae_api,
|
||||
for_obj_type: 'account',
|
||||
for_obj_id: $idaa_slct.account_id,
|
||||
inc_comment_li: true,
|
||||
enabled: $idaa_loc.bb.qry__enabled,
|
||||
hidden: $idaa_loc.bb.qry__hidden,
|
||||
limit: $idaa_loc.bb.qry__limit,
|
||||
@@ -97,6 +98,25 @@ $: if ($idaa_trig.post_li) {
|
||||
log_lvl: log_lvl,
|
||||
});
|
||||
}
|
||||
|
||||
$: if ($idaa_trig.post_id) {
|
||||
$idaa_trig.post_id = false;
|
||||
|
||||
if (log_lvl) {
|
||||
console.log(`Triggered: $idaa_trig.post_id`);
|
||||
}
|
||||
|
||||
$idaa_prom.load__post_obj = posts_func.load_ae_obj_id__post({
|
||||
api_cfg: $ae_api,
|
||||
post_id: $idaa_slct.post_id,
|
||||
enabled: $idaa_loc.bb.qry__enabled,
|
||||
hidden: $idaa_loc.bb.qry__hidden,
|
||||
limit: $idaa_loc.bb.qry__limit,
|
||||
inc_comment_li: true,
|
||||
try_cache: true,
|
||||
log_lvl: log_lvl,
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user