mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-22 16:03:19 +01:00
Merge pull request #144 from bclermont/patch-1
use more flexible way to get the id of the <div>
This commit is contained in:
commit
4abd11f54f
@ -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("");
|
||||
|
Loading…
Reference in New Issue
Block a user