The problem for '#type' => 'radio' the id is not being set in theme_radio(), hence ahah.js cannot map the wrapper to an actual DOM element
The problem for '#type' => 'radios': #ahah is not being passed on to the generated radio form items in expand_radios() (D6), nor in form_process_radios() (HEAD).
Patches for both HEAD and D6 attached.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | radio_error_messages_01.patch | 688 bytes | cwgordon7 |
| #5 | formsapi_radio_ahah_HEAD_1.patch | 1.06 KB | swentel |
| #5 | formsapi_radio_ahah_7.patch | 1.06 KB | swentel |
| #2 | formsapi_radio_ahah_HEAD.patch | 1.03 KB | wim leers |
| formsapi_radio_ahah_6.patch | 1.03 KB | wim leers |
Comments
Comment #1
wim leersOops, proper status now!
Comment #2
wim leersI forgot about the new "spaces around dots" rule for HEAD. Fixed that.
Comment #3
dries commentedCommitted this to CVS HEAD and DRUPAL-6. Thanks Wim.
Comment #4
catchadmin/build/testing
notice: Undefined index: #ahah in /includes/form.inc on line 1738.
Comment #5
swentel commentedUsing isset() check fixes the notices.
Comment #6
kscheirerworks for me.
this bug was generating php notices when installing drupal head once it the process reached the "Configure Site" step of install.php.
Comment #7
cwgordon7 commentedFor some unknown reason, this was committed to both the 6.x branch and HEAD (http://drupal.org/cvs?commit=133188 and http://drupal.org/cvs?commit=133187), and now a fresh 6.x-dev install throws lots of '#ahah' not found errors (e.g. on every single Drupal form). This should be reverted, until a patch that has the bug fixed is submitted. In the future, please do not commit cnw patches without comment.
Comment #8
cwgordon7 commentedPlease ignore the last comment, I had not fully read this thread. The patch in #5 is not applicable any more, rerolled instead into one patch.
Comment #9
heine commentedComment #10
dries commentedThe patches didn't apply cleanly, so I re-rolled them and committed them to CVS HEAD. Thanks.
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.