From 0b61a48c65765d76c0838aeaa33100914444a510 Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Sat, 10 Dec 2016 23:13:43 -0200 Subject: [PATCH] fix selection --- kfet/templates/kfet/history.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kfet/templates/kfet/history.html b/kfet/templates/kfet/history.html index 091b4f2f..bc12effa 100644 --- a/kfet/templates/kfet/history.html +++ b/kfet/templates/kfet/history.html @@ -142,9 +142,10 @@ $(document).ready(function() { selected: function(e, ui) { $(ui.selected).each(function() { if ($(this).hasClass('opegroup')) { - var opegroup = $(this).data('opegroup'); + var type = $(this).data('type'); + var id = $(this).data('id'); $(this).siblings('.ope').filter(function() { - return $(this).data('opegroup') == opegroup + return $(this).data(type) == id }).addClass('ui-selected'); } });