mirror of
https://github.com/friendica/friendica
synced 2024-11-18 03:43:40 +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) {
|
function imgbright(node) {
|
||||||
$(node).removeClass("drophide").addClass("drop");
|
$(node).removeClass("drophide").addClass("drop");
|
||||||
}
|
}
|
||||||
|
|
|
@ -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?
|
||||||
|
|
Loading…
Reference in a new issue