From: Michael Date: Mon, 11 Dec 2023 04:26:24 +0000 (+0000) Subject: Frio: perform item update after activity X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=113d72f59f15e30a1b103f2a22ceb294f429f846;p=friendica.git Frio: perform item update after activity --- diff --git a/view/js/main.js b/view/js/main.js index c55f85d917..0da6c1df10 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -641,6 +641,11 @@ function liveUpdate(src) { }); } +function updateItem(itemNo) { + force_update = true; + update_item = itemNo; +} + function imgbright(node) { $(node).removeClass("drophide").addClass("drop"); } diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index b138668c45..83cc15751a 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -865,6 +865,7 @@ function doActivityItemAction(ident, verb, un) { $('button[id^=shareMenuOptions-' + ident.toString() + ']').addClass('active'); } } + updateItem(ident.toString()); } else { /* server-response was not ok. Database-problems or some changes in * data?