Closed (fixed)
Project:
multiadd
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Dec 2011 at 18:06 UTC
Updated:
13 Jan 2012 at 09:00 UTC
Jump to comment: Most recent file
When the function that builds the initial form is in an included file included via hook_menu() for example, the multiadd ahah callback fails because it calls drupal_retrieve_form() in a round about way which needs the original form building function.
Suggestion: Add a #multiadd_ahah_file property to specify the path to a file to include.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1369810-1-multiadd-muladd_ahah_file-eojthebrave.patch | 1.65 KB | eojthebrave |
Comments
Comment #1
eojthebraveThe attached patch allows for a new #multiadd_ahah_file property where you can specify the path to an include file that contains the form builder function.
This should probably be documented somewhere but I couldn't figure out where the best place to do that would be. Suggestions?
Comment #2
sidharth_k commentedThanks for this Joe.
Comment #3
sidharth_k commentedCommitted in http://drupalcode.org/sandbox/sidharth_k/1349098.git/commit/0ca1ddc