Commit bc51a1f9368f588da09f74acc98a44c86d2b738f
1 parent
4b5fa468
Exists in
master
and in
2 other branches
Adjusting general mural clear filters
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
amadeus/static/js/mural_general.js
... | ... | @@ -49,7 +49,7 @@ var loadPosts = function() { |
49 | 49 | $(function () { |
50 | 50 | $(window).bind('scroll', loadOnScroll); |
51 | 51 | |
52 | - $("#clear_filter").click(function () { | |
52 | + $(".clear_filter").click(function () { | |
53 | 53 | var frm = $(this).parent(); |
54 | 54 | |
55 | 55 | frm.find("input[type='checkbox']").prop('checked', false); | ... | ... |
mural/templates/mural/list.html
... | ... | @@ -37,7 +37,7 @@ |
37 | 37 | </label> |
38 | 38 | </div> |
39 | 39 | <button type="submit" class="btn btn-success btn-raised">{% trans 'Filter' %}</button> |
40 | - <button type="button" id="clear_filter" class="btn btn-default btn-raised clear_filter">{% trans 'Clean Filters' %}</button> | |
40 | + <button type="button" class="btn btn-default btn-raised clear_filter">{% trans 'Clean Filters' %}</button> | |
41 | 41 | </form> |
42 | 42 | </div> |
43 | 43 | </div> |
... | ... | @@ -85,7 +85,7 @@ |
85 | 85 | </label> |
86 | 86 | </div> |
87 | 87 | <button type="submit" class="btn btn-success btn-raised btn-block">{% trans 'Filter' %}</button> |
88 | - <button type="button" id="clear_filter" class="btn btn-default btn-raised btn-block clear_filter">{% trans 'Clean Filters' %}</button> | |
88 | + <button type="button" class="btn btn-default btn-raised btn-block clear_filter">{% trans 'Clean Filters' %}</button> | |
89 | 89 | </form> |
90 | 90 | </div> |
91 | 91 | </div> | ... | ... |