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

Disable auto-refresh on post AND action - e.g on new ticket form

parent 92379f2e
No related branches found
No related tags found
No related merge requests found
...@@ -476,7 +476,7 @@ if($ticket) { ...@@ -476,7 +476,7 @@ if($ticket) {
$nav->setActiveSubMenu(-1); $nav->setActiveSubMenu(-1);
//set refresh rate if the user has it configured //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).'" />'); $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.
Please register or to comment