Currently, there is this code in hook_menu():
$items['ahah_example/simplest_ahah/callback'] = array(
'page callback' => 'ahah_example_simplest_callback',
'access callback' => TRUE,
'file' => 'simplest_ahah.inc',
);

Because type is not specified, this ends up showing as a blank entry in the navigation menu on the menu administration page.
This should be changed to type => MENU_CALLBACK.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | examples-ahah-fix-856656-5.patch | 845 bytes | webchick |
| #2 | examples-ahah-fix-856656-2.patch | 723 bytes | webchick |
Comments
Comment #1
webchickComment #2
webchickHere's a fix.
Comment #3
rfayIsn't this a big typo?
Comment #4
webchickHey, I think you have a typo here.. that should actually "type".
Powered by Dreditor.
Comment #5
webchickOk, I felt guilty... here's a re-roll of the patch.
Comment #6
rfayWow, thanks, that looks great. I'll commit when the bot comes back green.
THANKS!
-Randy
Comment #7
rfayThanks!
Actually resolved in #857302: Add a simple validation example to AHAH example