From 7ac8d20cbefcaae9e627fde65897161fada0c6c7 Mon Sep 17 00:00:00 2001 From: Jon Renaut Date: Wed, 26 Jan 2022 14:26:52 -0500 Subject: [PATCH] Fix Javascript typo This fix enables uploading new attachments to an existing ticket --- helpdesk/templates/helpdesk/ticket.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/templates/helpdesk/ticket.html b/helpdesk/templates/helpdesk/ticket.html index caf4bb3d..1af663f9 100644 --- a/helpdesk/templates/helpdesk/ticket.html +++ b/helpdesk/templates/helpdesk/ticket.html @@ -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) }); }