I’m not sure if this is a bug or not…
But in some of the versions of dmxAppConnect.js
that I’m trying for AC2, the following button causes get_contact_activity.submit()
to execute once when I mouse click on it, and in other versions it fires twice and triggers an abort event on the first firing:
In the stable channel, it only ever executes get_contact_activity.submit()
once, and no abort event ever happens.
Is the problem with my coding or with some of the versions of dmxAppConnect.js
?
<button id="b_start_booking" class="btn btn-success form_button_solid"
dmx-on:click="this_attendee_number.setValue($id);get_contact_activity.submit();scroll.goto('#a_contact_details_'+$id)"
dmx-show="(show_booking_details==0) && (form_mode.value=='event')"
:thinking:dmx-on:keydown.enter="this_attendee_number.setValue($id);get_contact_activity.submit();scroll.goto('#a_contact_details_'+$id)"
dmx-bind:disabled="(i_contact_email.invalid) || (i_contact_email.value.length()==0)">
Start Booking<span dmx-show="browser.viewport.width>576"></span></button>