// note updated by ajax in admincustomers should be url encoded

This commit is contained in:
Rémi Gaillard
2013-10-24 11:51:48 +02:00
parent dd6aa1a077
commit 4bfd8dee11
@@ -36,7 +36,7 @@
$.ajax({
type: "POST",
url: "index.php",
data: "token={getAdminToken tab='AdminCustomers'}&tab=AdminCustomers&ajax=1&action=updateCustomerNote&id_customer={$customer->id}&note="+noteContent,
data: "token={getAdminToken tab='AdminCustomers'}&tab=AdminCustomers&ajax=1&action=updateCustomerNote&id_customer={$customer->id}&note="+encodeURIComponent(noteContent),
async : true,
success: function(r) {
$('#note_feedback').html('').hide();