ahah_helper-submit-1231140-12.patch 540 B

123456789101112131415161718
  1. diff --git a/ahah_helper.module b/ahah_helper.module
  2. index dfd222a..efe3f55 100644
  3. --- a/ahah_helper.module
  4. +++ b/ahah_helper.module
  5. @@ -132,6 +132,13 @@ function ahah_helper_generic_submit($form, &$form_state) {
  6. */
  7. function ahah_helper_real_submit($form, &$form_state) {
  8. unset($form_state['storage']);
  9. +
  10. + // Call FormAPI's standard submit handler for the form.
  11. + $form_id = $form['form_id']['#value'];
  12. + $function = $form_id . '_submit';
  13. + if (function_exists($function)) {
  14. + $function($form, $form_state);
  15. + }
  16. }
  17. /**