This patch does the following:
- Removes the 'Check this and hit preview form more choices' checkbox (yuk!)
Besides demonstrating additional abilities of the AHAH framework, this patch is also an example of how to use the new abilities of the Forms API. During the AHAH request, poll module retrieves the cached version of the existing form from the database. It updates the cached form and resaves it to the database, so Drupal is aware of the new fields when it handles processing of the form.
rebuild_menu(); // New line here, rebuild the menu on every page load.
This obviously won't be necessary when this is included as part of poll module initially. Disabling and re-enabling poll module might also do the trick.
Caution again: this patch is dependent on http://drupal.org/node/154398, apply it first, then this one before testing.
|poll_ahah.patch||13.43 KB||Ignored: Check issue status.||None||None|