From: Anthony Talarico Date: Wed, 5 Oct 2016 16:29:25 +0000 (-0400) Subject: need to show and hide the loading gif as well as the overlay for the events calendar... X-Git-Tag: v1.4.0^2~5 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=47c163916d3f2ebfe7b8b769927e26078fd88706;p=WP-Plugins%2Fglm-member-db-events.git need to show and hide the loading gif as well as the overlay for the events calendar ajax request --- diff --git a/views/front/events/agenda.html b/views/front/events/agenda.html index 917192d..47b3315 100644 --- a/views/front/events/agenda.html +++ b/views/front/events/agenda.html @@ -109,8 +109,14 @@ type: 'POST', url: '{$ajaxUrl}', data: dat, - beforeSend: function(){ $(".event-overlay").show(); }, - complete: function(){ $(".event-overlay").hide(); }, + beforeSend: function(){ + $(".event-overlay").show(); + $(".loading").show(); + }, + complete: function(){ + $(".event-overlay").hide(); + $(".loading").hide(); + }, cache: false, success: function (response){ var buildingEvents = [];