Frio: perform item update after activity
This commit is contained in:
parent
708d3892a7
commit
113d72f59f
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