diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2012-12-30 13:57:18 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2012-12-30 13:59:52 +0800 |
commit | 627f5aca263da2513fe6d592becd3b505d97dd21 (patch) | |
tree | cb783b8687d61b62b10e1352a9c4dcf52d4229d0 /templates/patchwork/bundle-public.html | |
parent | d0fca5754590a0322b27152269a1f9bc71690bf7 (diff) | |
download | patchwork-627f5aca263da2513fe6d592becd3b505d97dd21.tar.bz2 patchwork-627f5aca263da2513fe6d592becd3b505d97dd21.tar.xz |
forms: Only pass post data to multiplepatchform if that was what was submitted
When updating bundles, we get a spurious error message in the
MultiplePatchForm; it's performing validation on the blank form data.
This change only passes the post data to the MuliplePatchForm if we
detect (through data['form']) that it was the MultiplePatchForm that was
submitted.
This fixes the current testsuite failure.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'templates/patchwork/bundle-public.html')
0 files changed, 0 insertions, 0 deletions