ports/devel/bugzilla50/files/patch-PR250699
Mark Linimon 63de02be63 devel/bugzilla50: add fix for FreeBSD PR 250699.
This has been submitted to upstream.

PR:	283897
2025-04-14 09:05:18 -05:00

13 lines
420 B
Plaintext

# Upstream pull request: https://github.com/bugzilla/bugzilla/pull/204
--- js/field.js.orig 2025-01-07 00:48:14 UTC
+++ js/field.js
@@ -1078,7 +1078,7 @@ function show_comment_preview(bug_id) {
method: 'Bug.render_comment',
params: {
Bugzilla_api_token: BUGZILLA.api_token,
- id: bug_id,
+ id: bug_id ? bug_id : 1,
text: comment.value
}
})