Merge pull request #13711 from annando/update-item

Frio: perform item update after activity
This commit is contained in:
Hypolite Petovan 2023-12-11 08:26:47 -05:00 committed by GitHub
commit 541208a6bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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) { function imgbright(node) {
$(node).removeClass("drophide").addClass("drop"); $(node).removeClass("drophide").addClass("drop");
} }

View file

@ -865,6 +865,7 @@ function doActivityItemAction(ident, verb, un) {
$('button[id^=shareMenuOptions-' + ident.toString() + ']').addClass('active'); $('button[id^=shareMenuOptions-' + ident.toString() + ']').addClass('active');
} }
} }
updateItem(ident.toString());
} else { } else {
/* server-response was not ok. Database-problems or some changes in /* server-response was not ok. Database-problems or some changes in
* data? * data?