even better fix

This commit is contained in:
rlx 2016-01-18 16:09:09 +05:30
parent e6981ff0a3
commit ae6a3bd6d9

View file

@ -66,9 +66,6 @@ oml.ui.filter = function(id) {
// fixme: cant index be an empty array, instead of -1?
// FIXME: this is still incorrect when deselecting a filter item
// makes a selected item in another filter disappear
if (ui.item) {
return;
}
var conditions = data.ids.map(function(value) {
return {
key: id,
@ -131,7 +128,9 @@ oml.ui.filter = function(id) {
}
}
}
oml.stayInItemView = true;
oml.UI.set({find: find});
oml.stayInItemView = false;
oml.updateFilterMenus();
},
sort: function(data) {