From: Steve Sutton Date: Fri, 4 Nov 2016 19:14:46 +0000 (-0400) Subject: Set the venue to the member if they select use member location. X-Git-Tag: v1.5.4^2~20 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=0d79a6b93bf52ba1eb863edbbfd37683068f9f9f;p=WP-Plugins%2Fglm-member-db-events.git Set the venue to the member if they select use member location. This is so we can grab all other_ref_dest for creating a venue list. This will behave like beer week current does. --- diff --git a/views/admin/events/edit.html b/views/admin/events/edit.html index 4a7cf3d..91d3907 100644 --- a/views/admin/events/edit.html +++ b/views/admin/events/edit.html @@ -1201,6 +1201,9 @@ $('#useMemberLocationCheckbox').on('click', function() { if ($(this)[0].checked) { $('#locationContainer').addClass('glm-hidden'); + {if $settings.use_venue_locations} + $('#useOtherRefDest').val(memberID); + {/if} } else { $('#locationContainer').removeClass('glm-hidden'); initLocations();