forked from CGM_Public/pretix_original
Plugin List: Apply searchfilter if prefilled by browser
Browsers often prefill the form fields, e.g. with their old content when reloading or going back from the previous page. However these filters were not applied until you changed one of the form fields
This commit is contained in:
@@ -74,6 +74,7 @@ $(function () {
|
||||
$results.append(gettext('No results'))
|
||||
}
|
||||
}
|
||||
search() // if pre-filled by browser (e.g. after reload)
|
||||
$('#plugin_search_input').on('input', search)
|
||||
$('input[name=plugin_state_filter]').on('change', search)
|
||||
$results_box.find('button.close').on('click', function () {
|
||||
|
||||
Reference in New Issue
Block a user