fix list selection when changing lists

This commit is contained in:
rlx 2016-01-16 13:36:26 +05:30
parent c9da0f8495
commit bec86685b3
1 changed files with 1 additions and 3 deletions

View File

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