//replace some escape:'html' by addslashes in .tpl with javascript
This commit is contained in:
1 parent
32d3dd3e0f
commit
dfc7456980
12 files changed
+25
-25
No files matched your search
@@ -32,7 +32,7 @@ $('document').ready(function()
|
||||
var parent = $(this).parent().parent();
|
||||
|
||||
$.ajax({
|
||||
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'], true)|escape:'html'}",
|
||||
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'], true)|addslashes}",
|
||||
type: "POST",
|
||||
data: {
|
||||
'id_product': idFavoriteProduct,
|
||||
|
||||
Reference in new issue
Block a user