clear cache after renaming lists, fixes #1464

This commit is contained in:
j 2013-03-29 15:25:49 +00:00
parent cc86435a1f
commit 711ebfc316

View file

@ -408,6 +408,7 @@ pandora.ui.folderList = function(id) {
data_[data.key] = data.value; data_[data.key] = data.value;
pandora.api['edit' + folderItem](data_, function(result) { pandora.api['edit' + folderItem](data_, function(result) {
if (result.data.id != data.id) { if (result.data.id != data.id) {
Ox.Request.clearCache();
pandora.renameList(data.id, result.data.id, result.data.name, id); pandora.renameList(data.id, result.data.id, result.data.name, id);
pandora.$ui.info.updateListInfo(); pandora.$ui.info.updateListInfo();
} }