The way this works violates Drupal's JavaScript principles, which also happen to be widely accepted best practices for using JavaScript. In short, this doesn't work at all with JavaScript disabled, but still displays a non-functioning language chooser, confusing users.

JavaScript should be applied on top of a form that works without JavaScript via standard form submit.

Comments

mohammed j. razem’s picture

Status: Active » Patch (to be ported)

Added graceful fallback when JavaScript is disabled.

mohammed j. razem’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

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