I have the following code…
onEventClick: function (events) {
dmx.parse('sc_tripbit_get.load({tripbit_id: '+ events.event.id +'})');
dmx.parse('modal_tripbit_show.show()');
},
onCellClick: function(events){
var new_date = new Date(events.date);
new_date = moment(new_date).format("Y-MM-DD HH:mm:ss");
dmx.parse('modal_tripbit.form_tripbit.start.setValue("' + new_date + '")');
dmx.parse('modal_tripbit.show()');
}
When I click an event both the modal_tripbit_show and the modal_tripbit modals open (show is on top).