Jump to content

[résolu] Commentaire privé %0A%0A : prestashop 1.7.6


Deasy-Oak

Recommended Posts

Bonjour,

Lorsque j'ajoute un commentaire dans une commande en BO

Si je fais un saut de ligne et clic sur enregistré, il apparait ensuite "%0A%0A"

Du coup ca fait le bazar :(

Ce bug pas méchant n'existait pas en version 1.7.5.2

Voir capture ecran

Avez vous le même soucis de votre coté ?

Capture.JPG

Edited by Deasy-Oak (see edit history)
Link to comment
Share on other sites

Après recherche :

Dans la version 1.7.5.2 fichier view.tpl dans themes/default/template/controllers/orders/helpers/view
le code est le suivant :

<form id="customer_note" class="form-horizontal" action="ajax.php" method="post" onsubmit="saveCustomerNote({$customer->id});return false;" >

alors que dans la nouvelle version 1.7.6 le code est :
 

<form id="customer_note" class="form-horizontal" action="{$link->getAdminLink('AdminCustomers', true, [], ['updateCustomerNote' => 1, 'id_customer' => $customer->id])}" method="post" onsubmit="saveCustomerNote();return false;" >


 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...