From bec86685b3a0c458b4cd45ed37e90036fb2b0b97 Mon Sep 17 00:00:00 2001 From: rlx Date: Sat, 16 Jan 2016 13:36:26 +0530 Subject: [PATCH] fix list selection when changing lists --- static/js/list.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/static/js/list.js b/static/js/list.js index 9de1ece..4782963 100644 --- a/static/js/list.js +++ b/static/js/list.js @@ -126,9 +126,7 @@ oml.ui.list = function() { } }, 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) { if (ui._list == oml.UI.getPrevious()._list) {