+ show_clear_button: function()
+ {
+ this.el('clearFilters').show();
+ }
+
+ hide_clear_button: function()
+ {
+ this.el('clearFilters').hide();
+ }
+
+ check_and_hide_clear_button: function()
+ {
+ // Count the number of filter _inside_ the current plugin
+ var count = this.els('filterButton').length;
+ if (count == 1) { // Including the template
+ this.el('clearFilters').hide();
+ }
+ }