Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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.