Commit 157d9657 authored by NesleeCanilPinto's avatar NesleeCanilPinto Committed by Neslee Canil Pinto
Browse files

Issue #3211296 by jenlampton, Neslee Canil Pinto: Do not autosubmit view if...

Issue #3211296 by jenlampton, Neslee Canil Pinto: Do not autosubmit view if using a chosen.js search widget
parent 64874db7
......@@ -100,7 +100,7 @@
var $submit = $target.closest('form').find('[data-bef-auto-submit-click]');
// Don't submit on changes to excluded elements or a submit element.
if ($target.is('[data-bef-auto-submit-exclude], :submit')) {
if ($target.is('[data-bef-auto-submit-exclude], :submit') || $target.attr('autocomplete') == 'off') {
return true;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment