GEM:詳細画面からリファレンス編集時のCallback関数をカスタマイズできるようにする#1788
Merged
NonakaKazuhiro merged 1 commit intoJun 27, 2025
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
このPRは、詳細画面からリファレンス編集時に、既存の固定コールバック処理に加えてカスタムコールバック関数(customEditReferenceCallback)が設定されている場合にその関数を呼び出す機能を追加するものです。
- リファレンス編集時にカスタムコールバック関数がある場合、その関数を呼び出す処理を実装
- カスタムコールバックが設定されていない場合は、従来の処理ロジックを維持
Comments suppressed due to low confidence (2)
iplass-gem/src/main/resources/META-INF/resources/scripts/gem/common.js:3331
- document.scriptContextから直接カスタムコールバックを取得していますが、名前空間の衝突や管理を考慮し、専用のオブジェクトで管理する方法を検討してください。
var func = document.scriptContext["customEditReferenceCallback"];
iplass-gem/src/main/resources/META-INF/resources/scripts/gem/common.js:3320
- カスタムコールバックの実行時に例外が発生した場合の影響を考慮し、try-catchによるエラーハンドリングを追加することを検討してください。
}
hkondoh
approved these changes
Jun 26, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
対応内容
fixes #1786
GEM:詳細画面からリファレンス編集時のCallback関数をカスタマイズできるようにする
動作確認・スクリーンショット(任意)
レビュー観点・補足情報(任意)