Browse Source

Merge pull request #2434 from rakhnin/master

fix filter jQuery selector for names with "."
Thomas 10 years ago
parent
commit
4095c9c276
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Resources/views/CRUD/base_list.html.twig

+ 1 - 1
Resources/views/CRUD/base_list.html.twig

@@ -219,7 +219,7 @@ file that was distributed with this source code.
                     jQuery('div.sonata-filters-box').slideDown();
                 }
 
-                var target = jQuery('#' + jQuery(e.target).attr('filter-target'));
+                var target = jQuery('div[id="' + jQuery(e.target).attr('filter-target') + '"]');
 
                 if (jQuery(target).is(":visible")) {
                     jQuery('i', this).removeClass('fa-check-square-o');