Re: [Django] #31483: Remove admin change_form.js dependency on jQuery.

2020-04-22 Thread Django
#31483: Remove admin change_form.js dependency on jQuery.
-+-
 Reporter:  Jon Dufresne |Owner:  Jon
 Type:   |  Dufresne
  Cleanup/optimization   |   Status:  assigned
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Carlton Gibson ):

 In [changeset:"a8bb53dbd24c90c280e90332d9a1f9f64efde3c7" a8bb53db]:
 {{{
 #!CommitTicketReference repository=""
 revision="a8bb53dbd24c90c280e90332d9a1f9f64efde3c7"
 Refs #31483 -- Removed CSS and JavaScript for unused HTML class add-
 another.

 The HTML class was removed in 07988744b347302925bc6cc66511e34224db55ab.
 As such, the CSS and JavaScript is unused.
 }}}

-- 
Ticket URL: 
Django 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.f350b9401de88632b60e6b18a5844c08%40djangoproject.com.


Re: [Django] #31483: Remove admin change_form.js dependency on jQuery.

2020-04-19 Thread Django
#31483: Remove admin change_form.js dependency on jQuery.
-+-
 Reporter:  Jon Dufresne |Owner:  Jon
 Type:   |  Dufresne
  Cleanup/optimization   |   Status:  assigned
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by felixxm):

 * owner:  nobody => Jon Dufresne
 * status:  new => assigned
 * stage:  Unreviewed => Accepted


-- 
Ticket URL: 
Django 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.7ac964cfe9fed13ee4d238c76ccc9372%40djangoproject.com.


Re: [Django] #31483: Remove admin change_form.js dependency on jQuery.

2020-04-19 Thread Django
#31483: Remove admin change_form.js dependency on jQuery.
-+-
 Reporter:  Jon Dufresne |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Jon Dufresne):

 * has_patch:  0 => 1


Comment:

 https://github.com/django/django/pull/12757

-- 
Ticket URL: 
Django 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.2f40ec47745abd1ecfbc6e9942e2efcc%40djangoproject.com.


[Django] #31483: Remove admin change_form.js dependency on jQuery.

2020-04-19 Thread Django
#31483: Remove admin change_form.js dependency on jQuery.
+
   Reporter:  Jon Dufresne  |  Owner:  nobody
   Type:  Cleanup/optimization  | Status:  new
  Component:  contrib.admin |Version:  master
   Severity:  Normal|   Keywords:
   Triage Stage:  Unreviewed|  Has patch:  0
Needs documentation:  0 |Needs tests:  0
Patch needs improvement:  0 |  Easy pickings:  0
  UI/UX:  0 |
+
 
https://github.com/django/django/blob/3.0/django/contrib/admin/static/admin/js/change_form.js

 The file currently uses jQuery for two purposes:

 1. To add an onclick handler to elements with the `add-another` class.
 This event handler has been unused since
 07988744b347302925bc6cc66511e34224db55ab (Django 1.8) when the class was
 removed. Rather than porting and maintaining this code block, it can be
 removed.

 2. To find the first visible, enabled input and then focus it. This code
 is simple enough to port.

-- 
Ticket URL: 
Django 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.9a435dc48de48435d8673256c85b9878%40djangoproject.com.