Hi,
Not sure how this happend, but in "actions" method of PollViewForm class we set "#ajax" option for "cancel" action few times, instead of adding it for "back" and "result" actions.
As result "View results" and "View poll" ajax form refresh does not work, buttons just redirect us to poll page.

| Comment | File | Size | Author |
|---|---|---|---|
| #3 | poll-issue_2769691-3.patch | 922 bytes | gilmord |
| poll_bug_ajax.png | 49.3 KB | gilmord |
Comments
Comment #2
gilmordComment #3
gilmordProvided small git patch.
Comment #4
gilmordComment #5
gilmordComment #6
berdirNot critical but good catch.
Some test would be nice, we already have javascript tests for this, shouldn't be too hard to extend it for this.
Comment #7
webflo commentedComment #9
berdirAw, no tests. Committed and keeping open as a task to add tests.
Comment #10
berdirWe've added some more real JS tests since then, maybe they cover this, if not then keeping a 2y old issue still open isn't going to help.