Active
Project:
Ajax Checklist
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2008 at 17:18 UTC
Updated:
28 Nov 2011 at 16:31 UTC
The Javascript code (ajax_checklist.js) assumes the Drupal installation will be the root of the webserver.
That is, if your URL is example.com/drupal/ you have to change every instance of "/ajaxchecklist/" to "/drupal/ajaxchecklist" in that file.
Comments
Comment #1
chromix commentedWow... THAT's what was wrong. FYI, fixing this bug will apparently also fix this one: http://drupal.org/node/354302.
Comment #2
asciikewl commentedRelease 5-1.3 should fix this. The equivalent code for D6 is in CVS but I haven't had time to test it yet.
Comment #3
rschiener commentedI had really trouble getting it running (Drupal V6.9, Subdirectory and prefixed tables). There's a bug in the Code for D6 in the CVS.
For me it worked replacing each "/?q=ajaxchecklist/" in ajax_cecklist.js with "?q=ajaxchecklist/"
Comment #4
jurriaanroelofs commentedcomment #3 is spot on.
In Drupal 6 you have to replace every instance of /ajaxchecklist with ?q=ajaxchecklist.
This will result in request urls building on top of your path like so: http://example.com/directory/node/281?q=ajaxchecklist/loadnid/281 and that works just fine.