Double autosubmit form. Not hide ajax-progress-fullscreen

Created on 9 November 2020, over 4 years ago
Updated 15 March 2023, over 2 years ago

PROBLEM:
I select a filter in Views, animation appears and is not deleted.
During filtering, 2 ajax requests are sent.

SETTINGS:
The combination is configured: views + BEF + autosubmit.

CAUSE:
The "views_ef_fieldset" module creates a duplicate of the "submit" button. Autosubmit sees 2 buttons and hangs the send trigger on them. When filtering, "Auto Submit" clicks on two buttons.

DECISION:
When duplicating the "submit" button, we check the attribute of the hidden button: ['#attributes'] ['data-bef-auto-submit-click'], if it exists, then delete it.



πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡·πŸ‡ΊRussia yuraosn Rostov-on-don

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024