From ae6a3bd6d9cd1aba11f6dbbf00825ea603a94fd3 Mon Sep 17 00:00:00 2001 From: rlx Date: Mon, 18 Jan 2016 16:09:09 +0530 Subject: [PATCH] even better fix --- static/js/filter.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/static/js/filter.js b/static/js/filter.js index 35c5928..7a0c476 100644 --- a/static/js/filter.js +++ b/static/js/filter.js @@ -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) {