Set the venue to the member if they select use member location.
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 4 Nov 2016 19:14:46 +0000 (15:14 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 4 Nov 2016 19:14:46 +0000 (15:14 -0400)
This is so we can grab all other_ref_dest for creating a venue list.
This will behave like beer week current does.

views/admin/events/edit.html

index 4a7cf3d..91d3907 100644 (file)
             $('#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();