If you've a block view with an exposed filter with AJAX and you implement hook_form_alter to change submit button with an image submit button, AJAX method breaks because it expects only buttons to submit the form.

CommentFileSizeAuthor
#1 exposed-form-image-button-1123300-1.patch630 bytesrvilar

Comments

rvilar’s picture

Status: Active » Needs review
StatusFileSize
new630 bytes

This is a patch that solve this problem

dawehner’s picture

Priority: Major » Minor

Are you sure this is a major bug? I don't think so, you can always break something if you have custom hook_form_alter code.

Wouldn't it help for you to just use css?

rvilar’s picture

No, it's different to use CSS to bring styles over a control, to replace this control (submit button) to another one (image button).

dawehner’s picture

Assigned: Unassigned » merlinofchaos

Assign to merlinofchaos for review.

merlinofchaos’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

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