Fix Javascript typo

This fix enables uploading new attachments to an existing ticket
This commit is contained in:
Jon Renaut 2022-01-26 14:26:52 -05:00 committed by GitHub
parent 3695cfa19d
commit 7ac8d20cbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -239,7 +239,7 @@ $(document).ready(function() {
$('#id_preset').change(function() {
preset = $('#id_preset').val();
if (preset != '') {
$.get("{% url 'helpdesk:raw' "preset" %}?id=" + preset, function(data) {
$.get("{% url 'helpdesk:raw' " + preset + " %}?id=" + preset, function(data) {
$("#commentBox").val(data)
});
}