diff --git a/helpdesk/static/helpdesk/filter.js b/helpdesk/static/helpdesk/filter.js index 216e556e..7052f5f0 100644 --- a/helpdesk/static/helpdesk/filter.js +++ b/helpdesk/static/helpdesk/filter.js @@ -5,7 +5,7 @@ $(document).ready(function() { return false; }); $(".filterBuilderRemove").click(function() { - var boxName = "#" + $(this).parent().attr('id'); + var boxName = "#" + $(this).parents(".filterBox").attr('id'); $(boxName).slideUp(); $(boxName).children("input:text").each(function() { $(this).val("");