summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-06-09 15:33:51 +0200
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-06-09 15:33:51 +0200
commit56f6dfd17c23692f76cd81831a867792de47bce6 (patch)
treed4d6453ad3f3013656daa0e344256fc5c4ffea2d
parenta471286668b8f09301bd8f20c6551c5f4ba30925 (diff)
downloadsonarqube-56f6dfd17c23692f76cd81831a867792de47bce6.tar.gz
sonarqube-56f6dfd17c23692f76cd81831a867792de47bce6.zip
SONAR-5133 Fix issue with activation filter
-rw-r--r--sonar-server/src/main/coffee/coding-rules/views/filters/activation-filter-view.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-server/src/main/coffee/coding-rules/views/filters/activation-filter-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/filters/activation-filter-view.coffee
index 68996355666..c1d274dba80 100644
--- a/sonar-server/src/main/coffee/coding-rules/views/filters/activation-filter-view.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/views/filters/activation-filter-view.coffee
@@ -29,6 +29,7 @@ define [
@model.trigger 'change:enabled'
unless @model.get 'value'
@choices.each (model) -> model.set 'checked', model.id == 'true'
+ @model.set 'value', [true]
@$el.removeClass('navigator-filter-inactive').prop 'title', ''
@options.filterBarView.moreCriteriaFilter.view.detailsView.enableByProperty(@detailsView.model.get 'property')
@hideDetails()