/usr/local/lib/python3.9/site-packages/django/contrib/admin/static/admin/js
'use strict'; { // Call function fn when the DOM is loaded and ready. If it is already // loaded, call the function now. // http://youmightnotneedjquery.com/#ready function ready(fn) { if (document.readyState !== 'loading') { fn(); } else { document.addEventListener('DOMContentLoaded', fn); } } ready(function() { function handleClick(event) { event.preventDefault(); const params = new URLSearchParams(window.location.search); if (params.has('_popup')) { window.close(); // Close the popup. } else { window.history.back(); // Otherwise, go back. } } document.querySelectorAll('.cancel-link').forEach(function(el) { el.addEventListener('click', handleClick); }); }); }
.
Edit
..
Edit
SelectBox.js
Edit
SelectFilter2.js
Edit
actions.js
Edit
admin
Edit
autocomplete.js
Edit
calendar.js
Edit
cancel.js
Edit
change_form.js
Edit
collapse.js
Edit
core.js
Edit
filters.js
Edit
inlines.js
Edit
jquery.init.js
Edit
nav_sidebar.js
Edit
popup_response.js
Edit
prepopulate.js
Edit
prepopulate_init.js
Edit
theme.js
Edit
urlify.js
Edit
vendor
Edit