diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/coffee/coding-rules/views/filters/activation-filter-view.coffee | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/coffee/coding-rules/views/filters/activation-filter-view.coffee b/server/sonar-web/src/main/coffee/coding-rules/views/filters/activation-filter-view.coffee index 179df18a253..da9e451a8c6 100644 --- a/server/sonar-web/src/main/coffee/coding-rules/views/filters/activation-filter-view.coffee +++ b/server/sonar-web/src/main/coffee/coding-rules/views/filters/activation-filter-view.coffee @@ -10,7 +10,8 @@ define [ makeActive: -> super - unless @model.get 'value' + filterValue = @model.get 'value' + if !filterValue or filterValue.length == 0 @choices.each (model) -> model.set 'checked', model.id == 'true' @model.set 'value', ['true'] @detailsView.updateLists() |