mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-06 17:56:58 +02:00
Fix for my-tickets div not appending to DOM
This commit is contained in:
parent
43a71e89f7
commit
aa5c137a11
@ -35,7 +35,7 @@ window.addEventListener('load', function()
|
|||||||
$.get(endpoint, function(data) {
|
$.get(endpoint, function(data) {
|
||||||
$('#ticketsTable tbody').empty();
|
$('#ticketsTable tbody').empty();
|
||||||
data.results.forEach(function(ticket) {
|
data.results.forEach(function(ticket) {
|
||||||
ticket.title = $('div').text(ticket.title).html();
|
ticket.title = $('<div>').html(ticket.title).html();
|
||||||
$('#ticketsTable tbody').append(`
|
$('#ticketsTable tbody').append(`
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user