Revision 9ed89b70
Added by Marek Hulán almost 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.
(cherry picked from commit 82b4749eeddabc542ebf1eaec6fdf2d76d2fdd75)