diff --git a/include/staff/ticket-tasks.inc.php b/include/staff/ticket-tasks.inc.php index 7c2ece1ad34bf5cdc1e838872283fbd4a639b4fc..a7a6d12abee2864d1ab49f5709081ea37be65f35 100644 --- a/include/staff/ticket-tasks.inc.php +++ b/include/staff/ticket-tasks.inc.php @@ -163,7 +163,8 @@ $(function() { $.dialog(url, [201], function (xhr) { var tid = parseInt(xhr.responseText); if (tid) { - var url = 'ajax.php/tasks/'+tid+'/view'; + var url = 'ajax.php/tickets/'+<?php echo $ticket->getId(); + ?>+'/tasks/'+tid+'/view'; var $container = $('div#task_content'); $container.load(url, function () { $('.tip_box').remove();