Skip to content
Snippets Groups Projects
Commit 9125bfbd authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #314 from protich/issue/305

Disable auto-refresh on post AND action - e.g on new ticket form
parents fe021bc2 e38c1c8e
No related branches found
No related tags found
No related merge requests found
......@@ -505,7 +505,7 @@ if($ticket) {
$nav->setActiveSubMenu(-1);
//set refresh rate if the user has it configured
if(!$_POST && $_REQUEST['a']!='search' && ($min=$thisstaff->getRefreshRate()))
if(!$_POST && !$_REQUEST['a'] && ($min=$thisstaff->getRefreshRate()))
$ost->addExtraHeader('<meta http-equiv="refresh" content="'.($min*60).'" />');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment