Commit 713eefc0 by François C.

Merge branch 'ticket_1724' into 'evolution_bdm'

ticket_1724 - remplacer le code html par des caractères UTF8 concernant les apostrophes

See merge request !71
parents a9cbbb0b 2d3f0105
Pipeline #1510 passed with stage
in 1 minute 29 seconds
...@@ -51,10 +51,10 @@ function init_my_info() { ...@@ -51,10 +51,10 @@ function init_my_info() {
$('#edit_address').off('click') $('#edit_address').off('click')
.on('click', () => { .on('click', () => {
$("#street_form").val(partner_data.street); $("#street_form").val(partner_data.street.replace(/'/g, "'"));
// $("#street2_form").val(partner_data.street2); // $("#street2_form").val(partner_data.street2);
$("#zip_form").val(partner_data.zip); $("#zip_form").val(partner_data.zip.replace(/'/g, "'"));
$("#city_form").val(partner_data.city); $("#city_form").val(partner_data.city.replace(/'/g, "'"));
$('#edit_address_value').hide(); $('#edit_address_value').hide();
$('#edit_address_form').show(); $('#edit_address_form').show();
}); });
...@@ -132,4 +132,4 @@ function saveInfo(data, field) { ...@@ -132,4 +132,4 @@ function saveInfo(data, field) {
console.log(error); console.log(error);
} }
}); });
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment