From 2a123c26f2bc16728304e1385300e59ed86d0793 Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Fri, 16 May 2014 16:28:11 -0500 Subject: [PATCH] pjax: After a POST, disable pjax for the next click --- include/staff/header.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/staff/header.inc.php b/include/staff/header.inc.php index 931d7fb46..551fb6800 100644 --- a/include/staff/header.inc.php +++ b/include/staff/header.inc.php @@ -64,7 +64,7 @@ | <a href="logout.php?auth=<?php echo $ost->getLinkToken(); ?>" class="no-pjax">Log Out</a> </p> </div> - <div id="pjax-container"> + <div id="pjax-container" class="<?php if ($_POST) echo 'no-pjax'; ?>"> <?php } else { if ($pjax = $ost->getExtraPjax()) { ?> <script type="text/javascript"> -- GitLab