mirror of
https://github.com/friendica/friendica
synced 2024-11-18 00:23:47 +00:00
Merge pull request #13711 from annando/update-item
Frio: perform item update after activity
This commit is contained in:
commit
541208a6bd
2 changed files with 6 additions and 0 deletions
|
@ -641,6 +641,11 @@ function liveUpdate(src) {
|
|||
});
|
||||
}
|
||||
|
||||
function updateItem(itemNo) {
|
||||
force_update = true;
|
||||
update_item = itemNo;
|
||||
}
|
||||
|
||||
function imgbright(node) {
|
||||
$(node).removeClass("drophide").addClass("drop");
|
||||
}
|
||||
|
|
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue