Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

税率設定の編集時にキャンセルすると編集中の値のままになるバグ修正 #5538

Merged
merged 1 commit into from
Aug 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions src/Eccube/Resource/template/admin/Setting/Shop/tax_rule.twig
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ file that was distributed with this source code.
});

$('.tax_rule_list_item .cancel').click(function() {
var id = $(this).data('id');
var tr = $('#ex-tax_rule-' + id);
$(tr).find('.edit').hide();
$(tr).find('.list').show();
location.href = '{{ url('admin_setting_shop_tax') }}';
});
});
</script>
Expand Down Expand Up @@ -186,9 +183,7 @@ file that was distributed with this source code.
<h5 class="modal-title fw-bold">
{{ 'admin.common.delete_modal__title'|trans }}
</h5>
<button class="btn-close" type="button" data-bs-dismiss="modal" aria-label="Close">

</button>
<button class="btn-close" type="button" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body text-start">
<p class="text-start modal-message">{{ 'admin.common.delete_modal__message'|trans({ "%name%" : TaxRule.id }) }}</p>
Expand Down