forked from 0x2620/pandora
clear more cache on metadata reload, fixes #636
This commit is contained in:
parent
c9a623275d
commit
2971dd2d40
1 changed files with 2 additions and 1 deletions
|
@ -577,7 +577,8 @@ pandora.ui.infoView = function(data) {
|
||||||
pandora.api.updateExternalData({
|
pandora.api.updateExternalData({
|
||||||
id: ui.item
|
id: ui.item
|
||||||
}, function(result) {
|
}, function(result) {
|
||||||
Ox.Request.clearCache(item);
|
//reloading metadata might change results too(i.e. genre)
|
||||||
|
Ox.Request.clearCache();
|
||||||
if (ui.item == item && ui.itemView == 'info') {
|
if (ui.item == item && ui.itemView == 'info') {
|
||||||
pandora.$ui.contentPanel.replaceElement(
|
pandora.$ui.contentPanel.replaceElement(
|
||||||
1, pandora.$ui.item = pandora.ui.item()
|
1, pandora.$ui.item = pandora.ui.item()
|
||||||
|
|
Loading…
Reference in a new issue