even better fix
This commit is contained in:
parent
e6981ff0a3
commit
ae6a3bd6d9
1 changed files with 2 additions and 3 deletions
|
@ -66,9 +66,6 @@ oml.ui.filter = function(id) {
|
||||||
// fixme: cant index be an empty array, instead of -1?
|
// fixme: cant index be an empty array, instead of -1?
|
||||||
// FIXME: this is still incorrect when deselecting a filter item
|
// FIXME: this is still incorrect when deselecting a filter item
|
||||||
// makes a selected item in another filter disappear
|
// makes a selected item in another filter disappear
|
||||||
if (ui.item) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
var conditions = data.ids.map(function(value) {
|
var conditions = data.ids.map(function(value) {
|
||||||
return {
|
return {
|
||||||
key: id,
|
key: id,
|
||||||
|
@ -131,7 +128,9 @@ oml.ui.filter = function(id) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
oml.stayInItemView = true;
|
||||||
oml.UI.set({find: find});
|
oml.UI.set({find: find});
|
||||||
|
oml.stayInItemView = false;
|
||||||
oml.updateFilterMenus();
|
oml.updateFilterMenus();
|
||||||
},
|
},
|
||||||
sort: function(data) {
|
sort: function(data) {
|
||||||
|
|
Loading…
Reference in a new issue