Skip to content

Commit

Permalink
Toggle Revision Status filter visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
agapetry committed Jan 29, 2025
1 parent 59772a5 commit e25a8ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/calendar/lib/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ jQuery(document).ready(function ($) {
$('#pp-content-filters select#revision_status').pp_select2({width: "190px"});
$('#pp-content-filters select#post_type').pp_select2();
$('#pp-content-filters select.pp-custom-select2').pp_select2();

$(document).on('click', 'div.pp-show-revision-btn', function(e) {
$('div.pp-content-calendar-filters button.revision_status').toggle(!$(this).hasClass('active-filter'));
});

$(document).on('click', '.pp-content-calendar-filters .co-filter, .pp-content-calendar-manage .co-filter, .board-title-content .co-filter', function (e) {
e.preventDefault();
Expand Down

0 comments on commit e25a8ee

Please sign in to comment.