fix list selection when changing lists

This commit is contained in:
rlx 2016-01-16 13:36:26 +05:30
parent c9da0f8495
commit bec86685b3

View file

@ -126,9 +126,7 @@ oml.ui.list = function() {
} }
}, },
oml_listselection: function(data) { 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) { oml_listsort: function(data) {
if (ui._list == oml.UI.getPrevious()._list) { if (ui._list == oml.UI.getPrevious()._list) {