#33893: Admin add model page incorrectly redirects
-------------------------------------+-------------------------------------
     Reporter:  Fabian Jarrett       |                    Owner:  Fabian
                                     |  Jarrett
         Type:  Bug                  |                   Status:  assigned
    Component:  contrib.admin        |                  Version:  4.1
     Severity:  Release blocker      |               Resolution:
     Keywords:  admin                |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson):

 [https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/submit
 HTMLFormElement.submit() (MDN)]:

 {{{
 <input> with attribute type="submit" will not be submitted with the form
 when using HTMLFormElement.submit(), but it would be submitted when you do
 it with original HTML form submit.
 }}}

 So I guess we'd need to add a hidden element for the button clicked...
 gah... — leaning too overly complex (as per Claude's take.)

 Marcelo do you have a thought here?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33893#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018268d92d12-96b4e5c5-025e-4026-aa12-36532f1cefbc-000000%40eu-central-1.amazonses.com.

Reply via email to