#25766: adding javascript "this.disabled" invalidate ManyToManyField
-------------------------------+--------------------------------------
     Reporter:  liwee          |                    Owner:  nobody
         Type:  Bug            |                   Status:  closed
    Component:  contrib.admin  |                  Version:  1.7
     Severity:  Normal         |               Resolution:  needsinfo
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by liwee):

 I added the javascript to prevent multiple button clicks; Whilst
 submitting credit card details for payment, some sites disable the submit
 button to prevent multiple payments, I am just trying to mimic that
 behaviour.

 If you comment {{{filter_horizontal = ('qn',)}}} and try again, saving
 will not cause a problem. Originally, I had the impression that it was a
 problem with ManyToManyField because I was able to save other fields
 without a problem.

--
Ticket URL: <https://code.djangoproject.com/ticket/25766#comment:3>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.f7c08475b175f047e51bcea78ffb2def%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to