Collected static file

This commit is contained in:
Mike Young
2019-11-19 12:40:29 -05:00
parent aa36fb2536
commit e0d1710b0b
139 changed files with 27833 additions and 11 deletions

View File

@@ -0,0 +1,13 @@
(function($) {
'use strict';
$(function() {
$('.cancel-link').on('click', function(e) {
e.preventDefault();
if (window.location.search.indexOf('&_popup=1') === -1) {
window.history.back(); // Go back if not a popup.
} else {
window.close(); // Otherwise, close the popup.
}
});
});
})(django.jQuery);