Problem Firefox with $.ajax

Problem Firefox with $.ajax

Andreas S.Andreas S. Posts: 207Questions: 73Answers: 4

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

Answers

  • allanallan Posts: 61,697Questions: 1Answers: 10,102 Site admin

    Can you link to a page showing the issue please? I don't see anything immediately wrong with that.

    Allan

  • Andreas S.Andreas S. Posts: 207Questions: 73Answers: 4

    I send you a pn.

This discussion has been closed.