after item edit, don't switch to list view in case filter selection changes

This commit is contained in:
rlx 2016-01-18 16:06:08 +05:30
parent 2bee170813
commit e6981ff0a3

View file

@ -66,6 +66,9 @@ 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,