Opened 4 years ago
Last modified 4 years ago
#32063 closed Bug
windowname_to_id function missing from RelatedObjectLookup.js — at Initial Version
Reported by: | kyashford | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | 3.1 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I am using the django-dynamic-raw-id in my project which calls the windowname_to_id function that user to be in RelatedObjectLookup.js for in the js/admin folder. After upgrading to Django 3.1.1 the windowname_to_id function is no longer there. Was this removed on purpose and I should see other solutions?
function windowname_to_id(text) {
text = text.replace(/dot/g, '.');
text = text.replace(/dash/g, '-');
return text;
}
Note:
See TracTickets
for help on using tickets.