Skip to content

Commit

Permalink
Merge pull request from GHSA-g4gg-vv3p-x46m
Browse files Browse the repository at this point in the history
[4.2]テキストのみのデータは jQuery.text を使用する
  • Loading branch information
chihiro-adachi committed Feb 28, 2023
2 parents 00b4a34 + 1ae1eda commit f56b4b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Eccube/Resource/template/default/Product/detail.twig
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ file that was distributed with this source code.
}).done(function(data) {
// レスポンス内のメッセージをalertで表示
$.each(data.messages, function() {
$('#ec-modal-header').html(this);
$('#ec-modal-header').text(this);
});
$('.ec-modal').show()
Expand Down
2 changes: 1 addition & 1 deletion src/Eccube/Resource/template/default/Product/list.twig
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ file that was distributed with this source code.
}).done(function(data) {
// レスポンス内のメッセージをalertで表示
$.each(data.messages, function() {
$('#ec-modal-header').html(this);
$('#ec-modal-header').text(this);
});
$('.ec-modal').show()
Expand Down

0 comments on commit f56b4b9

Please sign in to comment.