clear cache

This commit is contained in:
j 2017-02-15 19:13:18 +01:00
parent 0c7b69f855
commit bd8d62d7ea
2 changed files with 4 additions and 0 deletions

View file

@ -277,6 +277,8 @@ pandora.ui.listInfo = function() {
name: data.value name: data.value
}, function(result) { }, function(result) {
if (result.data.id != list) { if (result.data.id != list) {
Ox.Request.clearCache('find' + folderItems);
Ox.Request.clearCache('Home');
pandora.renameList(list, result.data.id, result.data.name); pandora.renameList(list, result.data.id, result.data.name);
list = result.data.id; list = result.data.id;
item.name = result.data.name; item.name = result.data.name;
@ -324,6 +326,7 @@ pandora.ui.listInfo = function() {
}, function(result) { }, function(result) {
item.description = result.data.description; item.description = result.data.description;
Ox.Request.clearCache('find' + folderItems); Ox.Request.clearCache('find' + folderItems);
Ox.Request.clearCache('Home');
}); });
} }
} }

View file

@ -297,6 +297,7 @@ pandora.ui.listGeneralPanel = function(listData) {
}, function(result) { }, function(result) {
description = result.data.description; description = result.data.description;
Ox.Request.clearCache('find' + folderItems); Ox.Request.clearCache('find' + folderItems);
Ox.Request.clearCache('Home');
pandora.$ui.info.updateListInfo(); pandora.$ui.info.updateListInfo();
}); });
} }