Frio: perform item update after activity

This commit is contained in:
Michael 2023-12-11 04:26:24 +00:00
parent 708d3892a7
commit 113d72f59f
2 changed files with 6 additions and 0 deletions

View 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");
}

View 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?