After the first Ajax execution the progress throbber appears inactive.

Created on 29 January 2024, 8 months ago
Updated 26 February 2024, 7 months ago

Problem/Motivation

The Drupal.Ajax.prototype.success method stop throbber and remove it. So, the next Ajax execution show stopped throbber (without class .glyphicon-spin).

Steps to reproduce

1. Build a form with the Ajax callback on some input.
2. Open the form and trigger an event. You will see active progress throbber.
3. Trigger element that uses Ajax again. The throbber appears, but it has inactive styles.

Proposed resolution

I have checked how the Drupal.Ajax.prototype.success works and it seems to me that we can remove line 125 which calls glyphiconStop() because the progress icon will be deleted anyway in the original handler that is called on line 137.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine _tarik_ Lutsk

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024