if sort is 'modified', reload browser after changing poster or poster frame

This commit is contained in:
rolux 2013-02-12 07:28:09 +05:30
parent 9f079c3412
commit 97e837efd9
2 changed files with 7 additions and 0 deletions

View file

@ -197,6 +197,10 @@ pandora.ui.editor = function(data) {
position: data.position position: data.position
}); });
} }
if (ui.sort[0].key == 'modified') {
Ox.Request.clearCache('find');
pandora.$ui.browser.reloadList();
}
}); });
}, },
removeannotation: function(data) { removeannotation: function(data) {

View file

@ -877,6 +877,9 @@ pandora.ui.infoView = function(data) {
ui.icons == 'posters' ? 'poster' : 'icon' ui.icons == 'posters' ? 'poster' : 'icon'
) + '128.jpg?' + Ox.uid()}); ) + '128.jpg?' + Ox.uid()});
}); });
if (ui.sort[0].key == 'modified') {
pandora.$ui.browser.reloadList();
}
}); });
} }
}) })