remove label headlines from cache when articles are being assigned to it
This commit is contained in:
parent
4d23f96e95
commit
898e85628b
1 changed files with 4 additions and 0 deletions
|
@ -869,6 +869,8 @@ function selectionRemoveLabel(id) {
|
||||||
|
|
||||||
// notify_progress("Loading, please wait...");
|
// notify_progress("Loading, please wait...");
|
||||||
|
|
||||||
|
cache_invalidate("F:" + (-11 - id));
|
||||||
|
|
||||||
new Ajax.Request(query, {
|
new Ajax.Request(query, {
|
||||||
onComplete: function(transport) {
|
onComplete: function(transport) {
|
||||||
viewCurrentFeed();
|
viewCurrentFeed();
|
||||||
|
@ -896,6 +898,8 @@ function selectionAssignLabel(id) {
|
||||||
|
|
||||||
if (ok) {
|
if (ok) {
|
||||||
|
|
||||||
|
cache_invalidate("F:" + (-11 - id));
|
||||||
|
|
||||||
var query = "backend.php?op=rpc&subop=assignToLabel&ids=" +
|
var query = "backend.php?op=rpc&subop=assignToLabel&ids=" +
|
||||||
param_escape(ids.toString()) + "&lid=" + param_escape(id);
|
param_escape(ids.toString()) + "&lid=" + param_escape(id);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue