Commit 51a71ce7 authored by Jared Hancock's avatar Jared Hancock

pjax: Release ticket when navigating away

parent dbaf9c9e
......@@ -634,6 +634,9 @@ getConfig = (function() {
$(document).on('pjax:click', function(options) {
if (window.ticket_refresh !== undefined)
// Release ticket lock (maybe)
if ($.autoLock !== undefined)
// Stop all animations
$(document).stop(false, true);
// Cancel save-changes warning banner
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment