Skip to content

Commit

Permalink
Escape Js Quote "confirmRemoveMessage" on WishList view
Browse files Browse the repository at this point in the history
  • Loading branch information
bchatard committed Apr 29, 2016
1 parent c790670 commit 24f2e33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<form class="form-wishlist-items" id="wishlist-view-form"
data-mage-init='{"wishlist":{
"addToCartUrl":<?php /* @escapeNotVerified */ echo $block->getItemAddToCartParams("%item%");?>,
"confirmRemoveMessage":"<?php /* @escapeNotVerified */ echo __("Are you sure you want to remove this product from your Wish List?") ?>",
"confirmRemoveMessage":"<?php /* @escapeNotVerified */ echo $block->escapeJsQuote(__("Are you sure you want to remove this product from your Wish List?")) ?>",
"addAllToCartUrl":<?php /* @escapeNotVerified */ echo $block->getAddAllToCartParams(); ?>,
"commentString":""},
"validation": {}}' action="<?php /* @escapeNotVerified */ echo $block->getUrl('wishlist/index/update', ['wishlist_id' => $block->getWishlistInstance()->getId()]) ?>" method="post">
Expand Down

0 comments on commit 24f2e33

Please sign in to comment.