diff options
Diffstat (limited to 'app/php/controls/scripts/CalendarLabel.js')
-rw-r--r-- | app/php/controls/scripts/CalendarLabel.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/app/php/controls/scripts/CalendarLabel.js b/app/php/controls/scripts/CalendarLabel.js deleted file mode 100644 index 8193e56..0000000 --- a/app/php/controls/scripts/CalendarLabel.js +++ /dev/null @@ -1,11 +0,0 @@ -$(document).on('Application.calendarGroupFilterChanged', function(event, args) { - var selectedGroups = args.groups || []; - $('.calendar').each(function() { - var label = $(this); - if (selectedGroups.indexOf(label.attr('data-group')) >= 0) { - label.show(); - } else { - label.hide(); - } - }); -}); |