From bd043112cca675c31d75e2335a9d4a485827580d Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Mon, 28 Apr 2014 14:16:52 -0500 Subject: [PATCH] pjax: Fix ticket refresh not to include navigation --- scp/tickets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scp/tickets.php b/scp/tickets.php index b19b872e7..48bcdb003 100644 --- a/scp/tickets.php +++ b/scp/tickets.php @@ -617,7 +617,7 @@ if($ticket) { //set refresh rate if the user has it configured if(!$_POST && !$_REQUEST['a'] && ($min=$thisstaff->getRefreshRate())) $ost->addExtraHeader('', - "window.ticket_refresh = setTimeout(function() { $.pjax({url: document.location.href, container:'#content'});}," + "window.ticket_refresh = setTimeout(function() { $.pjax({url: document.location.href, container:'#pjax-container'});}," .($min*60000).");"); } -- GitLab