mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-26 16:48:50 +01:00
Fix Javascript typo
This fix enables uploading new attachments to an existing ticket
This commit is contained in:
parent
3695cfa19d
commit
7ac8d20cbe
@ -239,7 +239,7 @@ $(document).ready(function() {
|
|||||||
$('#id_preset').change(function() {
|
$('#id_preset').change(function() {
|
||||||
preset = $('#id_preset').val();
|
preset = $('#id_preset').val();
|
||||||
if (preset != '') {
|
if (preset != '') {
|
||||||
$.get("{% url 'helpdesk:raw' "preset" %}?id=" + preset, function(data) {
|
$.get("{% url 'helpdesk:raw' " + preset + " %}?id=" + preset, function(data) {
|
||||||
$("#commentBox").val(data)
|
$("#commentBox").val(data)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user