Groundwork stuff for common competencies + other fixes

This commit is contained in:
2021-08-21 00:09:00 +01:00
parent 4fb0529cc0
commit 732af53fda
6 changed files with 33 additions and 41 deletions

View File

@@ -12,9 +12,7 @@
});
$('#searchButton').click(function (e) {
e.preventDefault();
var url = "{% url 'asset_audit' None %}";
var id = $("#{{form.q.id_for_label}}").val();
url = url.replace('None', id);
var url = "{% url 'asset_audit' None %}".replace('None', $("#{{form.q.id_for_label}}").val();
$.ajax({
url: url,
success: function(){