]> git.mxchange.org Git - friendica.git/commitdiff
Frio: perform item update after activity
authorMichael <heluecht@pirati.ca>
Mon, 11 Dec 2023 04:26:24 +0000 (04:26 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 11 Dec 2023 04:26:24 +0000 (04:26 +0000)
view/js/main.js
view/theme/frio/js/theme.js

index c55f85d9177e94d1a3da56b55e05459741db2698..0da6c1df1065dc29ce71010bdc082cc552a94148 100644 (file)
@@ -641,6 +641,11 @@ function liveUpdate(src) {
        });
 }
 
+function updateItem(itemNo) {
+       force_update = true;
+       update_item = itemNo;   
+}
+
 function imgbright(node) {
        $(node).removeClass("drophide").addClass("drop");
 }
index b138668c45c7da9c541be4a7c9e8b748369dbd10..83cc15751aee63f4a181b979333ad8a5b58a4cc7 100644 (file)
@@ -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?