Closed (fixed)
Project:
Webform
Version:
7.x-3.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2012 at 10:40 UTC
Updated:
19 Mar 2012 at 09:20 UTC
I do get the notice
Notice: Undefined index: rebuild in drupal_process_form() (line 927 of /includes/form.inc).
after installing the patch from http://drupal.org/node/1326716#comment-5657894.
It seems like the form submit mechanism in modal forms requires $form_state['rebuild'] to be present. Can we change this in webform_client_form_pages as per attached patch?
| Comment | File | Size | Author |
|---|---|---|---|
| webform-modal_forms-support.patch | 441 bytes | larskleiner |
Comments
Comment #1
larskleiner commentedComment #2
quicksketchLooks like this should be doable to me.
Comment #3
quicksketchChanges didn't cause any problems for me (as I wouldn't think they would) so committed to both branches even though D6 doesn't really pay attention to $form_state['rebuild']; I included it for consistency.
Comment #4
quicksketchUpdating title to reflect commit message.
Comment #5
larskleiner commentedGreat, thanks Nathan!