// 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 fc9b39968b
commit 971722a13f

View File

@@ -35,7 +35,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();