Closed (outdated)
Project:
Pathauto
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2009 at 09:03 UTC
Updated:
7 Feb 2026 at 10:16 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gregglesYep, I can confirm this. Bummer.
Comment #2
dave reidThis is by design with Drupal caching forms in D6. Fixed in D7. :/
Comment #3
gpk commentedHave since discovered that adding the JS directly in hook_form_alter() is the wrong way to do it. #after_build and #pre_render both work, and the latter might be preferred in general. Examples: OG, CCK.
Comment #4
gpk commentedComment #5
dave reidThat may be true, but core doesn't do anything to go around it either, so I don't think it should be something we want to work around with Pathauto. :/
Comment #6
dave reidPatch with a test to use #after_build to include the JS.
Comment #7
mably commented