From: Anthony Talarico Date: Wed, 5 Oct 2016 17:16:02 +0000 (-0400) Subject: fixing sytanx error in the ajax method when called the loading icon gif during the... X-Git-Tag: v1.4.0^2~2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=997872cb36086535e4eae4c7467129e6ca5012f8;p=WP-Plugins%2Fglm-member-db-events.git fixing sytanx error in the ajax method when called the loading icon gif during the calendar ajax request --- diff --git a/css/front.css b/css/front.css index 43ea77f..38442f8 100644 --- a/css/front.css +++ b/css/front.css @@ -193,7 +193,7 @@ input[name='contact_fname'], input[name='contact_lname']{ position: relative; } .event-overlay{ -/* display: none;*/ + display: none; position: absolute; top: 0; left: 0; @@ -203,7 +203,7 @@ input[name='contact_fname'], input[name='contact_lname']{ z-index: 999; } .loading{ -/* display: none;*/ + display: none; height: 13px; width: 208px; background: url('../assets/loader.gif'); diff --git a/views/front/events/agenda.html b/views/front/events/agenda.html index f7a792f..47b3315 100644 --- a/views/front/events/agenda.html +++ b/views/front/events/agenda.html @@ -109,14 +109,14 @@ type: 'POST', url: '{$ajaxUrl}', data: dat, -// beforeSend: function(){ -// $(".event-overlay").show(); -// $(".loading").show(); -// }, -// complete: function(){ -// $(".event-overlay").hide(); -// $(".loading").hide(); -// }, + beforeSend: function(){ + $(".event-overlay").show(); + $(".loading").show(); + }, + complete: function(){ + $(".event-overlay").hide(); + $(".loading").hide(); + }, cache: false, success: function (response){ var buildingEvents = [];