Skip to content
This repository has been archived by the owner on Apr 29, 2023. It is now read-only.

Commit

Permalink
Fix bug on print preview page
Browse files Browse the repository at this point in the history
  • Loading branch information
matsuo committed Jan 30, 2020
1 parent 62e30a0 commit 2080d69
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,9 @@

## ライセンス

* ライセンスはMITライセンスです。
* ライセンスはMITライセンスです。

## 変更履歴

* バージョン1.1(2020/01/30):印刷用画面でリファラーポリシーが正しく設定されていなかった不具合を修正しました。
* バージョン1.0(2020/01/30):最初のリリースバージョン。
2 changes: 1 addition & 1 deletion src/js/referrer-policy-for-kintone.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(function() {
'use strict';
kintone.events.on(['app.record.index.show', 'app.record.detail.show', 'app.record.create.show', 'app.record.edit.show', ' app.record.print.show', 'app.report.show', 'portal.show'], function(e) {
kintone.events.on(['app.record.index.show', 'app.record.detail.show', 'app.record.create.show', 'app.record.edit.show', 'app.record.print.show', 'app.report.show', 'portal.show'], function(e) {
var element = document.createElement('meta');
element.setAttribute('name', 'referrer');
element.setAttribute('content', 'same-origin');
Expand Down

0 comments on commit 2080d69

Please sign in to comment.