diff --git a/admin-dev/themes/default/template/controllers/orders/form.tpl b/admin-dev/themes/default/template/controllers/orders/form.tpl index 3593e5cae..020a22833 100755 --- a/admin-dev/themes/default/template/controllers/orders/form.tpl +++ b/admin-dev/themes/default/template/controllers/orders/form.tpl @@ -100,7 +100,7 @@ $('#show_old_carts').click(); $('#payment_module_name').change(); $.ajaxSetup({ type:"post" }); - $("#voucher").autocomplete('{$link->getAdminLink('AdminCartRules')|escape:'html'}', { + $("#voucher").autocomplete('{$link->getAdminLink('AdminCartRules')|addslashes}', { minChars: 3, max: 15, width: 250, @@ -468,7 +468,7 @@ $('#new_address').attr('href', address_link.replace(/id_customer=[0-9]+/, 'id_customer='+id_customer)); $.ajax({ type:"POST", - url : "{$link->getAdminLink('AdminCarts')|escape:'html'}", + url : "{$link->getAdminLink('AdminCarts')|addslashes}", async: false, dataType: "json", data : { diff --git a/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl b/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl index 57faf0900..8a58bf7bf 100755 --- a/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl +++ b/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl @@ -27,7 +27,7 @@ {block name="override_tpl"}