Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(`#closingModal-${alertId}`).on('hidden.bs.modal', function (e)
- {
- //..Load la map pour la localisation du badge d'alerte
- loadMapByMacAddress(macAddress)
- //..Inserer dans la BD le nom de l'utilisateur qui a ferme le modal
- const alarmId = parseInt(alertId.replace('alerte', ''));
- $.ajax({
- url: "/Observer/SetStopDynamicAlarm",
- type: "POST",
- data: {
- LastUpdate: dateFermeture.toJSON(),
- AlarmId: alarmId
- }
- });
- $(this).remove();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement