skyzozo Posted March 17, 2021 Share Posted March 17, 2021 Bonjour, Je rencontre une erreur une erreur JS lorsque que je veux ajouter un n° de suivi à une commande depuis le BO. Lorsque je clique sur "Modifier" rien ne se passe, mais dans la console j'ai cette erreur : Uncaught ReferenceError: button_partial is not defined Le problème viendrait de Jquery, mais je ne m'y connais pas assez pour savoir quoi faire. Je suis sur Presta 1.7.6, et j'ai l'erreur depuis 2-3 jours. Merci par avance pour votre aide Link to comment Share on other sites More sharing options...
natachaC Posted April 9, 2021 Share Posted April 9, 2021 Bonjour je viens d'installer le nouveau module paybox du CA en offre Pack Access chez un client et j'ai eu le même problème dans modules/paybox/views/templates/admin/hookadminorder.tpl j'ai commenté la ligne de code confirm_action() en attendant (bas de page) Natacha <script type="text/javascript"> var module_path = "{/literal}{$module_path|escape:'htmlall':'UTF-8'}{literal}"; var pbx_link = "{/literal}{$pbx_link_capture|escape:'htmlall':'UTF-8'}{literal}"; var pbx_numquestion = "{/literal}{$info.numquestion|escape:'htmlall':'UTF-8'}{literal}"; var pbx_montant = "{/literal}{$montant|escape:'htmlall':'UTF-8'}{literal}"; var pbx_devise = "{/literal}{$devise|escape:'htmlall':'UTF-8'}{literal}"; var pbx_reference = "{/literal}{$reference|escape:'htmlall':'UTF-8'}{literal}"; var pbx_numappel = "{/literal}{$info.numappel|escape:'htmlall':'UTF-8'}{literal}"; var pbx_numtrans = "{/literal}{$info.numtrans|escape:'htmlall':'UTF-8'}{literal}"; var pbx_dateq = "{/literal}{$info.dateq|escape:'htmlall':'UTF-8'}{literal}"; var pbx_version = "00104"; var unsubscribe = "{/literal}{$unsubscribe|escape:'htmlall':'UTF-8'}{literal}"; var token = "{/literal}{$cookie_key|escape:'htmlall':'UTF-8'}{literal}"; $( document ).ready(function () { move_block('1.6'); //confirm_action(button_partial, button_refund, button_capture, unsubscribe); }); </script> Link to comment Share on other sites More sharing options...
skyzozo Posted April 11, 2021 Author Share Posted April 11, 2021 Merci, ça fonctionne Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now