Closed (fixed)
Project:
Examples for Developers
Version:
6.x-1.x-dev
Component:
AJAX Example
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 May 2010 at 10:45 UTC
Updated:
9 Feb 2014 at 00:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rfayThe examples are intended to give the most basic introduction to the use of something, without introducing extraneous detail, and that's why they're using the defaults. The defaults also work for what most people want to do.
I would propose adding the other #ahah['event'] options in a comment, for example, and to add the additional #ahah members *commented out* so that it's obvious to people that they don't have to be entered.
Patches are welcome if you'd like to take this on. http://drupal.org/patch.
Thanks for your participation and for the good thinking,
-Randy
Comment #2
rfayComment #3
joachim commentedHere's a patch.
One of the examples was actually needlessly setting the 'event', so I've replaced that with a commented out version too.
This is probably the only one we need: the replace and effect properties have clear defaults that never change.
Comment #4
rfayCommitted to HEAD: http://drupal.org/cvs?commit=369456
Thanks!
A D7 patch would also be appreciated.
Comment #5
tr commentedSetting version.
Comment #6
mile23There's no AHAH example in 7.x-1.x. I doubt it needs to be ported, either, since we have the AJAX example.