|
|
@ -164,6 +164,7 @@ jQuery(function($) { |
|
|
|
|
|
|
|
|
|
|
|
function addFilter(e) { |
|
|
|
function addFilter(e) { |
|
|
|
e.preventDefault(); |
|
|
|
e.preventDefault(); |
|
|
|
|
|
|
|
$('.advanced-filters--spacer').removeClass('hidden'); |
|
|
|
$('[filter-name="' + $(this).val() + '"]').removeClass('hidden'); |
|
|
|
$('[filter-name="' + $(this).val() + '"]').removeClass('hidden'); |
|
|
|
// If the user removes the filter the same filter has to be selectable from fresh again:
|
|
|
|
// If the user removes the filter the same filter has to be selectable from fresh again:
|
|
|
|
$('#add_filter_select option:selected', $filterForm).prop('disabled','disabled'); |
|
|
|
$('#add_filter_select option:selected', $filterForm).prop('disabled','disabled'); |
|
|
|