no need to pass 'stay at position' argument when reloading browser list

This commit is contained in:
rolux 2013-02-11 14:56:27 +05:30
parent c296e1e8a3
commit 171e0d9d25

View file

@ -156,13 +156,13 @@ pandora.ui.browser = function() {
that.options({ that.options({
borderRadius: data.value == 'posters' ? 0 : 8, borderRadius: data.value == 'posters' ? 0 : 8,
defaultRatio: data.value == 'posters' ? 5/8 : 1 defaultRatio: data.value == 'posters' ? 5/8 : 1
}).reloadList(true); }).reloadList();
}, },
pandora_item: function(data) { pandora_item: function(data) {
that.options({selected: [data.value]}); that.options({selected: [data.value]});
if (['accessed', 'timesaccessed'].indexOf(pandora.user.ui.listSort[0].key) > -1) { if (['accessed', 'timesaccessed'].indexOf(pandora.user.ui.listSort[0].key) > -1) {
Ox.Request.clearCache('find'); Ox.Request.clearCache('find');
that.reloadList(true); that.reloadList();
} }
}, },
pandora_listsort: function() { pandora_listsort: function() {