diff options
Diffstat (limited to 'static/admin/js/prepopulate_init.js')
l---------[-rw-r--r--] | static/admin/js/prepopulate_init.js | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/static/admin/js/prepopulate_init.js b/static/admin/js/prepopulate_init.js index 184df92..8723a61 100644..120000 --- a/static/admin/js/prepopulate_init.js +++ b/static/admin/js/prepopulate_init.js @@ -1,10 +1 @@ -(function($) { - 'use strict'; - var fields = $('#django-admin-prepopulated-fields-constants').data('prepopulatedFields'); - $.each(fields, function(index, field) { - $('.empty-form .form-row .field-' + field.name + ', .empty-form.form-row .field-' + field.name).addClass('prepopulated_field'); - $(field.id).data('dependency_list', field.dependency_list).prepopulate( - field.dependency_ids, field.maxLength, field.allowUnicode - ); - }); -})(django.jQuery); +/home/prashant/www/html/python/python_3.x/django_3.x/os-hardware/env-osh/lib/python3.6/site-packages/django/contrib/admin/static/admin/js/prepopulate_init.js
\ No newline at end of file |