Explorar o código

fix filter jQuery selector for names with "."

Andriy Rakhnin %!s(int64=10) %!d(string=hai) anos
pai
achega
5d48c362f1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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');