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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | exposed-form-image-button-1123300-1.patch | 630 bytes | rvilar |
Comments
Comment #1
rvilarThis is a patch that solve this problem
Comment #2
dawehnerAre 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?
Comment #3
rvilarNo, it's different to use CSS to bring styles over a control, to replace this control (submit button) to another one (image button).
Comment #4
dawehnerAssign to merlinofchaos for review.
Comment #5
merlinofchaos commentedCommitted.