update browser list if sort is 'accessed' or 'timesaccessed'
This commit is contained in:
parent
6dbd713fef
commit
9781276353
1 changed files with 4 additions and 0 deletions
|
@ -160,6 +160,10 @@ pandora.ui.browser = function() {
|
||||||
},
|
},
|
||||||
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) {
|
||||||
|
Ox.Request.clearCache();
|
||||||
|
that.reloadList(true);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
pandora_listsort: function() {
|
pandora_listsort: function() {
|
||||||
that.options({sort: getSort()})
|
that.options({sort: getSort()})
|
||||||
|
|
Loading…
Reference in a new issue