Needs review
Project:
Subform
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 May 2011 at 14:23 UTC
Updated:
14 Jun 2011 at 06:59 UTC
Jump to comment: Most recent file
Using user-modal module -- http://drupalcode.org/sandbox/amitaibu/1151178.git/shortlog/refs/heads/s...
I have noticed that $form_state['rebuild'] = TRUE causes an error.
Maybe we should remove it?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1155396-no-rebuild.patch | 471 bytes | amitaibu |
Comments
Comment #1
amitaibuMaybe we should remove it? == I don't understans why it needed, but it doesn't mean it's not needed ;)
Comment #2
amitaibuAnd here's the patch.
User modal -- http://drupal.org/sandbox/amitaibu/1151178 is using this, if you would like to test.
Comment #3
amitaibuThis seems to be the last patch required for user-modal.
@casey,
DO you know why this was written to begin with?
Comment #4
casey commentedWell I assumed that when you include a subform the wrapper form also contains other form input. In most cases you won't want to lose that. Maybe we can add an extra submit handler. I'll post an update in a few moments.
Comment #5
amitaibu> include a subform the wrapper form also contains other form input.
Yeah, that's not the case of user-modal.
> Maybe we can add an extra submit handler
Yes, this sounds as a better solution.