From 68302c2ca53a2c4882a5c4a4f6962f9b8c3486c2 Mon Sep 17 00:00:00 2001 From: j Date: Sun, 6 Jul 2025 19:49:28 +0100 Subject: [PATCH] clear cache after editing document rightslevel, closes: #3222 --- static/js/documentInfoView.js | 1 + static/js/documentInfoView.padma.js | 1 + 2 files changed, 2 insertions(+) diff --git a/static/js/documentInfoView.js b/static/js/documentInfoView.js index f526d7a31..8e2a20a91 100644 --- a/static/js/documentInfoView.js +++ b/static/js/documentInfoView.js @@ -624,6 +624,7 @@ pandora.ui.documentInfoView = function(data, isMixed) { rightslevel: rightsLevel }; pandora.api.editDocument(edit, function(result) { + Ox.Request.clearCache(); that.triggerEvent('change', Ox.extend({}, 'rightslevel', rightsLevel)); }); } diff --git a/static/js/documentInfoView.padma.js b/static/js/documentInfoView.padma.js index 270106b8b..8bc6cf0b1 100644 --- a/static/js/documentInfoView.padma.js +++ b/static/js/documentInfoView.padma.js @@ -825,6 +825,7 @@ pandora.ui.documentInfoView = function(data, isMixed) { rightslevel: rightsLevel }; pandora.api.editDocument(edit, function(result) { + Ox.Request.clearCache(); that.triggerEvent('change', Ox.extend({}, 'rightslevel', rightsLevel)); }); }