git: 63de02be6302 - main - devel/bugzilla50: add fix for FreeBSD PR 250699.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Apr 2025 14:06:59 UTC
The branch main has been updated by linimon:
URL: https://cgit.FreeBSD.org/ports/commit/?id=63de02be6302cd23f156dc31be18cae88b0e6d85
commit 63de02be6302cd23f156dc31be18cae88b0e6d85
Author: Mark Linimon <linimon@FreeBSD.org>
AuthorDate: 2025-04-14 14:05:18 +0000
Commit: Mark Linimon <linimon@FreeBSD.org>
CommitDate: 2025-04-14 14:05:18 +0000
devel/bugzilla50: add fix for FreeBSD PR 250699.
This has been submitted to upstream.
PR: 283897
---
devel/bugzilla50/files/patch-PR250699 | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/devel/bugzilla50/files/patch-PR250699 b/devel/bugzilla50/files/patch-PR250699
new file mode 100644
index 000000000000..35befe1b9077
--- /dev/null
+++ b/devel/bugzilla50/files/patch-PR250699
@@ -0,0 +1,12 @@
+# 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
+ }
+ })