Merge pull request #5465 from devansh-webkul/ui-issue

This commit is contained in:
Devansh 2021-12-27 16:35:14 +05:30 committed by GitHub
commit 31c6954b68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 27 additions and 23 deletions

View File

@ -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

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{
"/js/ui.js": "/js/ui.js?id=cb07561b86778a65eece",
"/css/ui.css": "/css/ui.css?id=5aaf2dcbf5a491595a39"
"/css/ui.css": "/css/ui.css?id=712d64809feb4c730822"
}

View File

@ -885,7 +885,7 @@ h5 {
color: $white-color;
margin: 0px;
padding: 0px;
font-size: 15px;
font-size: 14px;
}
}
}

View File

@ -32,7 +32,7 @@
<a
class="remove-decoration theme-btn light"
href="javascript:void(0);"
onclick="deleteAllWishlist()">
onclick="window.deleteAllWishlist();">
{{ __('shop::app.customer.account.wishlist.deleteall') }}
</a>
</span>
@ -145,15 +145,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