When JavaScript is disabled, jump menus can break in a couple different ways:
- Query strings and fragments in the jump menu don't work.
- If the site is installed in a subdirectory, none of the jump menus will work at all.
The attached patch fixes those issues.
Note: I discovered this while working on #1103048: Jump menus don't work when created from the view wizard, and this patch is required to make the tests there work.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 1103058-jump-menu-nojs-broken.patch | 1.26 KB | damien tournoud |
| ctools-jump-menus-no-javascript.patch | 1022 bytes | David_Rothstein |
Comments
Comment #1
merlinofchaos commentedCommitted.
Comment #3
damien tournoud commentedThis thing is still really broken. The #submit is not registered in one case, and when the user has not selected any option the submit handler redirects to the front page.
Comment #4
merlinofchaos commentedAt first I thought hte submit didn't need to be registered, but if embedded into another form it does. So that's important.
Committed.