]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5500 Adapt width of static list criteria in search forms
authorStas Vilchik <vilchiks@gmail.com>
Tue, 29 Jul 2014 15:29:20 +0000 (17:29 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 29 Jul 2014 15:29:20 +0000 (17:29 +0200)
Fix the issue that prevents to unselect a filter item

server/sonar-web/src/main/js/navigator/filters/choice-filters.js

index b45538471591a5528a63e9ebc3a009f44a146340..1cffd060e32c7c96e57961445b67fd6394f2fd75 100644 (file)
@@ -57,7 +57,7 @@ define([
     onCheck: function(e) {
       var checkbox = jQuery(e.currentTarget),
           id = checkbox.data('id'),
-          checked = checkbox.children('.icon-checkbox-checked').length > 0;
+          checked = checkbox.find('.icon-checkbox-checked').length > 0;
 
       if (this.model.get('multiple')) {
         if (checkbox.closest('.opposite').length > 0) {