Skip to content

Commit

Permalink
Merge pull request #2295 from spenceralger/click_dem_filters
Browse files Browse the repository at this point in the history
[filterBar] make the entire pill clickable in apply filters ui
  • Loading branch information
rashidkpc committed Dec 13, 2014
2 parents 3cac440 + d5ce68f commit 2da908c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kibana/components/filter_bar/filter_bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<form ng-submit="applyFilters(newFilters)">
<ul class="list-unstyled">
<li>Apply these filters?</li>
<li ng-repeat="filter in newFilters" class="filter"><input type="checkbox" ng-model="filter.meta.apply"/> {{ filter.meta.key }}: {{ filter.meta.value }}</li>
<li ng-if="changeTimeFilter" class="changeTimeFilter filter"><input type="checkbox" ng-model="changeTimeFilter.meta.apply"/> <strong>Change time to:</strong> {{changeTimeFilter.meta.value}} </li>
<li ng-repeat="filter in newFilters" class="filter" ng-click="filter.meta.apply = !filter.meta.apply"><input type="checkbox" ng-model="filter.meta.apply"/> {{ filter.meta.key }}: {{ filter.meta.value }}</li>
<li ng-if="changeTimeFilter" class="changeTimeFilter filter" ng-click="changeTimeFilter.meta.apply = !changeTimeFilter.meta.apply"><input type="checkbox" ng-model="changeTimeFilter.meta.apply"/> <strong>Change time to:</strong> {{changeTimeFilter.meta.value}} </li>
<li><button class="btn btn-xs btn-primary">Apply Now</button> or <a ng-click="clearFilterBar();">Cancel</a></li>
</ul>
</form>
Expand Down

0 comments on commit 2da908c

Please sign in to comment.