Merge pull request #990 from auto-mat/preset

Undo PR #989
This commit is contained in:
Garret Wassermann 2022-01-27 07:56:15 -05:00 committed by GitHub
commit 2a8c1511ef
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)
});
}