In the Drupal.views.ajaxView.prototype.attachExposedFormAjax function in the ajax_view.js file only input fields of types submit and image are selected. In a project I'm currently working on the submit button is not an input field, but a button of type submit. Because of this, the AJAX functionality is not working. With a small change to the javascript selector it will also allow for a button of type submit.
I will attach a patch for this.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rfbrandsma created an issue. See original summary.

rfbrandsma’s picture

cilefen’s picture

Status: Active » Needs review
dawehner’s picture

Status: Needs review » Needs work
Issue tags: +Needs tests

If we want to do that kind of stuff, let's ensure to add test coverage for it. The new selector could maybe include buttons explitely instead of allowing everything.

mvwensen’s picture

Status: Needs work » Closed (duplicate)