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

Merge pull request #900 from greezybacon/issue/pjax-various


pjax: Fix confusing POST resubmit

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents 2a0ada1d b6b2b857
No related branches found
No related tags found
No related merge requests found
......@@ -663,6 +663,8 @@ $(document).on('pjax:complete', function() {
$(this).remove();
});
$('#overlay').stop(false, true).hide().removeAttr('style');
// Drop previous POST data (if any)
window.location.href = window.location.href;
});
$(document).on('pjax:end', function() {
......
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