Skip to content
Snippets Groups Projects
Commit 51f34fac authored by Jared Hancock's avatar Jared Hancock
Browse files

pjax: Hide popups when using pjax to change pages

parent 7d39f901
Branches
Tags
No related merge requests found
...@@ -639,6 +639,10 @@ $(document).on('pjax:start', function() { ...@@ -639,6 +639,10 @@ $(document).on('pjax:start', function() {
window.clearTimeout(id); window.clearTimeout(id);
} }
// Close popups
// Close tooltips
$('.dialog, .tip_box').empty().hide();
if ($("#loadingbar").length === 0) { if ($("#loadingbar").length === 0) {
$("body").append("<div id='loadingbar'></div>"); $("body").append("<div id='loadingbar'></div>");
$("#loadingbar").addClass("waiting").append($("<dt/><dd/>")); $("#loadingbar").addClass("waiting").append($("<dt/><dd/>"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment