Fixed Wishlist Alert Issue
This commit is contained in:
parent
db4dbd4cfa
commit
9de56e11cc
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
<a
|
||||
href="javascript:void(0);"
|
||||
onclick="deleteAllWishlist()">
|
||||
onclick="window.deleteAllWishlist()">
|
||||
{{ __('shop::app.customer.account.wishlist.deleteall') }}
|
||||
</a>
|
||||
</div>
|
||||
|
|
@ -131,15 +131,17 @@
|
|||
|
||||
window.app.showModal('shareWishlist');
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete all wishlist.
|
||||
*/
|
||||
function deleteAllWishlist() {
|
||||
if (confirm('{{ __('shop::app.customer.account.wishlist.confirm-delete-all') }}')) document.getElementById('remove-all-wishlist').submit();
|
||||
|
||||
return;
|
||||
}
|
||||
</script>
|
||||
@endif
|
||||
|
||||
<script>
|
||||
/**
|
||||
* Delete all wishlist.
|
||||
*/
|
||||
function deleteAllWishlist() {
|
||||
if (confirm('{{ __('shop::app.customer.account.wishlist.confirm-delete-all') }}')) document.getElementById('remove-all-wishlist').submit();
|
||||
|
||||
return;
|
||||
}
|
||||
</script>
|
||||
@endpush
|
||||
Loading…
Reference in New Issue