When trying to insert an internal note the refresh was active, this is undesirable...
Corrected version
Open file: \include\staff\header.inc.php
And add the code after the tag:
START MOD04 Auto-refresh Staff Panel
<?
if (($_SERVER=="/scp/tickets.php") || ($_SERVER=="/scp/index.php")
|| ($_SERVER=="/scp/tickets.php?status=answered")
|| ($_SERVER=="/scp/tickets.php?status=overdue")
|| ($_SERVER=="/scp/tickets.php?status=closed")
|| ($_SERVER=="/scp/tickets.php?id="))
{
echo "<meta http-equiv='refresh' content='35'>";
} else {
echo " <meta http-equiv='refresh' content='35'> ";
}
?>
<br>
END MOD04 Changes
Assumptions:
This Mod makes the assumption that your osTicket is in the root of the domain (eg. www.YourDomain.com(www.YourDomain.com)) if you have the osTicket in a subfolder you may need to edit the code and add the subFolder (eg. www.YourDomain.com/osTicket(www.YourDomain.com/osTicket)) you need to edit the code where is /scp/ to /osTicket/scp/
the refresh timming is set to 35 seconds if you want to change just edit the content