Posted by Stefan Freudenberg on June 1, 2010 at 9:39am
2 followers
| Project: | abuse |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
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.
Comments
#1
Here's a patch to address the issue.
#2
looks 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.