Skip to content

Commit

Permalink
Escape lmx.location_id
Browse files Browse the repository at this point in the history
  • Loading branch information
fiveNinePlusR committed Oct 12, 2024
1 parent 21e9194 commit 73bfb9e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
var form = $(this);
$.post(form.attr('action'), form.serialize(), function (data) {
$('#show_conditions_lmx_#{lmx.id}').load('/location_machine_xrefs/#{lmx.id}/render_machine_conditions');
updateLocationUpdatedText(#{lmx.location_id});
updateLocationUpdatedText(#{h(lmx.location_id)});
});
$('#update_machine_condition_#{lmx.id} #new_machine_condition_#{lmx.id}').val('');
$('#machine_condition_edit_lmx_#{lmx.id}').slideToggle('slow');
Expand Down

0 comments on commit 73bfb9e

Please sign in to comment.