Revision 82b4749e
Added by Marek Hulán about 10 years ago
app/assets/javascripts/filters.js | ||
---|---|---|
$('#filter_unlimited').change(function () {
|
||
$('#search').prop('disabled', $(this).prop('checked'));
|
||
});
|
||
|
||
$('li a[href="#organizations"]').toggle($('#filter_resource_type').data('allow-organizations'));
|
||
$('li a[href="#locations"]').toggle($('#filter_resource_type').data('allow-locations'));
|
||
});
|
Also available in: Unified diff
Fixes #5664 - Host filters can use taxonomies
Also disables taxonomy filters on resources that do not support them.