From e94edc96e3dc2d9bca7293835c8a0a844554ce6b Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Tue, 29 Apr 2014 17:05:06 -0500
Subject: [PATCH] pjax: Fix missing global `event` on Firefox

---
 scp/js/scp.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scp/js/scp.js b/scp/js/scp.js
index fb071801f..9c5990c1f 100644
--- a/scp/js/scp.js
+++ b/scp/js/scp.js
@@ -630,7 +630,7 @@ getConfig = (function() {
     }
 })();
 
-$(document).on('pjax:start', function() {
+$(document).on('pjax:start', function(event) {
     // Don't show the spinner on back button
     if (event instanceof PopStateEvent)
         return;
-- 
GitLab