Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you enable the Auto-Submit to a View with Ajax mode, the throbbing ball disappear.
That occurs because the button to submit was removed from the form and views attach the ball doing this:
$('input[type=submit], button', this).after('<span class="views-throbbing"> </span>');
So, to resolve this I just modified in the file views_filters_autosubmit.module, line 25:
$form['submit']['#access'] = FALSE;
TO
$form['submit']['#attributes'] = array('style' => 'display: none;');
Don't know if this is right, but removing the submit button ins't seems right to.
Cheers!
Sebas.
Comments
Comment #1
infojunkieFixed by fixing #1049240: Auto-submit should not remove the Submit button. Please try t (12 hours from now) and let me know.
Comment #3
halloffame CreditAttribution: halloffame commentedStill persist on the latest dev version.
Comment #4
Jimbo the Mighty CreditAttribution: Jimbo the Mighty commentedI also got trouble with latest dev, since normal throbber span gets added on click on the submit button, not when the form gets sent.
Helped myself out by adding
$('input:submit.form-submit', self).after('<span class="views-throbbing"></span>');
before call of
$(self).submit();
in ''views_filter_autosubmit.js"
Best make a copy of the file, put it in your theme and reference it in the theme.info
Comment #5
apadernoI am closing this issue, since Drupal 6 isn't anymore supported.