chore: import jquery so dynamic_inlines.js source map works (#4482)
This commit is contained in:
parent
143877ec3d
commit
d7bdffc89d
|
@ -5,6 +5,8 @@ http://www.arnebrodowski.de/blog/507-Add-and-remove-Django-Admin-Inlines-with-Ja
|
||||||
field as primary key. Also for some reason the "active" boolean field doesn't get saved properly
|
field as primary key. Also for some reason the "active" boolean field doesn't get saved properly
|
||||||
if the checkbox input has an empty "value" argument.
|
if the checkbox input has an empty "value" argument.
|
||||||
*/
|
*/
|
||||||
|
import $ from 'jquery';
|
||||||
|
|
||||||
function increment_form_ids(el, to, name) {
|
function increment_form_ids(el, to, name) {
|
||||||
var from = to-1
|
var from = to-1
|
||||||
$(':input', $(el)).each(function(i,e){
|
$(':input', $(el)).each(function(i,e){
|
||||||
|
|
Loading…
Reference in a new issue