When your module is used within a multi-language installation, and the keyword "header" or "footer" is translated, it breaks. This is because of the scrope-parameter of drupal_add_js.
This parameter only accepts "footer" or "header", however in respondjs.admin.inc the module don't support this two options, but the translations. A simple fix would be dont translate the option-values on line 20.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1828318-1-dont-translate-scope.patch | 810 bytes | rupl |
Comments
Comment #1
ruplNice catch! I don't have an environment set up to translate Drupal, so could you try this patch against the latest dev and give me an RTBC before I commit?
Comment #2
killerpoke commentedIt work's like a charm!
Labels are translated, values not. Thank you for your very quick response.
Comment #3
ruplAwesome! Committed #1 to dev.