Skip to content

Commit

Permalink
By pressing anywhere on the panel-heading show form filters (#81)
Browse files Browse the repository at this point in the history
* By pressing anywhere on the panel-heading show form filters

* Rename HTML class

* Simplier JS to toggle list form filters
  • Loading branch information
gonzaloalonsod authored and alterphp committed Dec 2, 2018
1 parent 2c3b667 commit 0bf7d78
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Resources/views/default/list.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,8 @@
$(function () {
createAutoCompleteFields();
});
$("#list-form-filters [data-toggle][data-target=\"#list-form-filters-form\"] *").click(function() {
$('#list-form-filters-form').collapse('toggle');
});
</script>
{% endblock %}

0 comments on commit 0bf7d78

Please sign in to comment.