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">&nbsp</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

infojunkie’s picture

Status: Active » Fixed

Fixed by fixing #1049240: Auto-submit should not remove the Submit button. Please try t (12 hours from now) and let me know.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

halloffame’s picture

Component: Views Filters Auto-submit » Views Filters Auto-Submit
Status: Closed (fixed) » Active

Still persist on the latest dev version.

Jimbo the Mighty’s picture

I 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

apaderno’s picture

Issue summary: View changes
Status: Active » Closed (outdated)
Issue tags: -ajax views

I am closing this issue, since Drupal 6 isn't anymore supported.