Commit 2ea3720e authored by godotislate's avatar godotislate Committed by Neslee Canil Pinto
Browse files

Issue #3224329 by godotislate: Autosubmit not working with jQuery Datepicker

parent 82bd95f8
......@@ -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 ($'[data-bef-auto-submit-exclude], :submit') || $target.attr('autocomplete') == 'off') {
if ($'[data-bef-auto-submit-exclude], :submit') || ($target.attr('autocomplete') == 'off' && !$target.hasClass('bef-datepicker'))) {
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