From: Steve Sutton Date: Fri, 18 May 2018 15:29:42 +0000 (-0400) Subject: Looks like some stuff was stuck in here by mistake. X-Git-Tag: v1.0.0^2~7 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=2122ce2cb8a8a2c6e6925848a2d8f963e757e6d9;p=WP-Plugins%2Fglm-member-db-registrations.git Looks like some stuff was stuck in here by mistake. Removing it from the view file. --- diff --git a/views/admin/registrations/eventRegistrants.html b/views/admin/registrations/eventRegistrants.html index afb9ced..ec9bc3a 100644 --- a/views/admin/registrations/eventRegistrants.html +++ b/views/admin/registrations/eventRegistrants.html @@ -37,10 +37,10 @@ {foreach $times as $time} - {/foreach} + {/foreach} - {/if} + {/if} @@ -180,14 +180,7 @@ Show Only Completed: Name Search: - Charles Scott, President -Gaslight Media -120 E. Lake Street -Petoskey, MI 49770 -http://www.gaslightmedia.com - -E-Mail: cscott@gaslightmedia.com -Office: 231-487-0692 + Fields to export: @@ -210,9 +203,7 @@ Office: 231-487-0692 Email
Phone
County
- Level
'%s', - '%s', - + Level
Date/Time
Rate
Status
@@ -268,7 +259,7 @@ jQuery(document).ready(function($){ $(this).prop('checked', false); }); }); - + // Edit registrant $('.glm-edit').click(function(e){ e.preventDefault(); @@ -276,14 +267,14 @@ jQuery(document).ready(function($){ $('.glm-edit-form-' + $(this).data('registrant')).show(); // $('.glm-attendee-' + $(this).data('registrant')).hide(); - // If custom fields plugin is active - get custom fields for this attendee + // If custom fields plugin is active - get custom fields for this attendee {if apply_filters('glm-members-customfields-plugin-active', false)} // Get registrant ID and Class ID var refId = $(this).data('registrant'); var classId = $(this).data('class'); var fieldsHtml = ''; - + // Get event attendee custom fields $.ajax({ cache: false, @@ -302,7 +293,7 @@ jQuery(document).ready(function($){ }).done(function( eventFieldsHtml ){ fieldsHtml = 'Additional data requested for this {$terms.reg_term_event}
' + eventFieldsHtml; - + // Next get event class attendee custom fields $.ajax({ cache: false, @@ -324,12 +315,12 @@ jQuery(document).ready(function($){ // Add custom fields to form $('.customfields-attendee-' + refId).html( fieldsHtml); - + }).fail(); }).fail(); - + {/if} }); @@ -349,7 +340,7 @@ jQuery(document).ready(function($){ $('.glm-detail').click(function(e){ e.preventDefault(); }); -*/ +*/ // Submit Attendee Edit Form $('.glm-update').click(function(e){ @@ -362,7 +353,7 @@ jQuery(document).ready(function($){ console.log(attendeeFormData); var notAttending = $('#glmRegNotAttending_' + refId).prop('checked'); - + var accountFname = $('#glm-attendee-' + refId + ' input[name=fname]').val().trim(); var accountLname = $('#glm-attendee-' + refId + ' input[name=lname]').val().trim(); @@ -388,7 +379,7 @@ jQuery(document).ready(function($){ // And update the edit form also if (account.notAvailable) { alert('No availability to permit this {$terms.reg_term_attendee}.'); - } + } if (account.notAttending) { $('#glmRegAttedeeLine_' + refId).addClass('glm-reg-gray'); $('#glmRegNotAttendingText_' + refId).html('NOT ATTENDING'); @@ -407,7 +398,7 @@ jQuery(document).ready(function($){ // Attendee Line Hover Action var attendeeEditFlag = false; - var attendeeHoverId = false; + var attendeeHoverId = false; $('.glm-attendee-line').mouseenter( function() { if (attendeeEditFlag) { return;