From bd8d62d7eab976c34336e1d2391d79a183e0d186 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 15 Feb 2017 19:13:18 +0100 Subject: [PATCH] clear cache --- static/js/info.js | 3 +++ static/js/listDialog.js | 1 + 2 files changed, 4 insertions(+) diff --git a/static/js/info.js b/static/js/info.js index cbb441f5c..c12fbf74b 100644 --- a/static/js/info.js +++ b/static/js/info.js @@ -277,6 +277,8 @@ pandora.ui.listInfo = function() { name: data.value }, function(result) { if (result.data.id != list) { + Ox.Request.clearCache('find' + folderItems); + Ox.Request.clearCache('Home'); pandora.renameList(list, result.data.id, result.data.name); list = result.data.id; item.name = result.data.name; @@ -324,6 +326,7 @@ pandora.ui.listInfo = function() { }, function(result) { item.description = result.data.description; Ox.Request.clearCache('find' + folderItems); + Ox.Request.clearCache('Home'); }); } } diff --git a/static/js/listDialog.js b/static/js/listDialog.js index a6aaaee20..80d12e9bf 100644 --- a/static/js/listDialog.js +++ b/static/js/listDialog.js @@ -297,6 +297,7 @@ pandora.ui.listGeneralPanel = function(listData) { }, function(result) { description = result.data.description; Ox.Request.clearCache('find' + folderItems); + Ox.Request.clearCache('Home'); pandora.$ui.info.updateListInfo(); }); }