fix sort bug

This commit is contained in:
rlx 2016-01-19 09:52:03 +05:30
parent 200c6df686
commit 72e6823c3b
1 changed files with 1 additions and 3 deletions

View File

@ -157,9 +157,7 @@ oml.ui.list = function() {
that.options({selected: data.value}); that.options({selected: data.value});
}, },
oml_listsort: function(data) { oml_listsort: function(data) {
if (ui._list == oml.UI.getPrevious()._list) { that.options({sort: data.value});
that.options({sort: data.value});
}
}, },
oml_sidebarsize: function(data) { oml_sidebarsize: function(data) {
that.size(); that.size();