Problem Firefox with $.ajax
Problem Firefox with $.ajax
Andreas S.
Posts: 208Questions: 74Answers: 4
in Buttons
I have a Problem with a button code.
dtButtons.push( {
text: '<i class="fas fa-user-plus fa-fw"></i>',
titleAttr: 'List of all athletes who can participate in this event',
className: 'text-green',
action: function( e, dt, node, config ) {
var data = mt_ls.row( { selected: true } ).data();
var meetType = ( 'INVITATION' == data.contentType ) ? 'i' : ( ( 'ENTRIES' == data.contentType ) ? 'e' : 'r' );
$.post( '/lib/adm/setvar.php', { mid: data.DT_RowId, cot: meetType, cid: cID, back: 'mtlst' } );
location.assign( '/index.php?mo=listE&me=lsath' );
},
enabled: false
} );
The $.post code would not be execute with the FireFox. Have anyone a idea what is wrong here. With Edge and Chrome work
the Code.
Andreas
This discussion has been closed.
Answers
Can you link to a page showing the issue please? I don't see anything immediately wrong with that.
Allan
I send you a pn.