Abuse moderation (allow, remove, etc) does not work if the base path is something else than /, e.g. when it has a language prefix. THis is due to the way the path to the ajax backend is created in abuse.js:
$form.ajaxForm({
url: Drupal.base_url + 'admin/abuse/moderate/content/js',
type: 'post',
There's a slash missing before admin.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | abuse_814728.patch | 727 bytes | stefan freudenberg |
Comments
Comment #1
stefan freudenberg commentedHere's a patch to address the issue.
Comment #2
buzzman commentedlooks like this URL should also be corrected in 6x-1.x-dev @ line 21 in the abuse.js file since it also misses the single slash.
Comment #3
AlexisWilke commentedI applied that patch (by hand) and now abuse works properly with i18n.
We just added internationalization and it was not working because of that bug because the base path includes the language (i.e. "enadmin/abuse/..." won't work at all.)