forked from 0x2620/pandora
clear cache after renaming lists, fixes #1464
This commit is contained in:
parent
cc86435a1f
commit
711ebfc316
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue