Skip to content

Commit

Permalink
Merge pull request #6327 from ShionFuse/feature/fix_shopping_redirect
Browse files Browse the repository at this point in the history
ブラウザバックしたときの注文画面のredirect_to遷移先の初期化
  • Loading branch information
ji-eunsoo authored Dec 25, 2024
2 parents 3b3adfd + 77eda37 commit 0ee87f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Eccube/Resource/template/default/Shopping/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ file that was distributed with this source code.

{% block javascript %}
<script>
// redirect_to初期化
$(window).on('pageshow',function(event) {
$('#shopping_order_redirect_to').val(null);
$('#shopping-form').attr('action','{{ url("shopping_confirm") }}');
});
$(function() {
var $redirectCallback = function() {
loadingOverlay();
Expand Down

0 comments on commit 0ee87f0

Please sign in to comment.