Closed
Bug 302694
Opened 20 years ago
Closed 20 years ago
Show multiple bugs emits errors about addReplyLink missing
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: wicked, Assigned: Wurblzap)
References
Details
(Keywords: regression, Whiteboard: [doesn't affect 2.18])
Attachments
(2 files, 1 obsolete file)
|
1.08 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
|
1.09 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
When multiple bugs is shown using either Long Format or Format For Printing
button/link there's one JavaScript error per bug shown. This happens because
JavaScript function addReplyLink is called but it isn't defined.
Comment 1•20 years ago
|
||
I've noticed the same problem in my installation (2.20rc2).
The workaround for me was to add
[% IF mode == "edit" %] ... [% END %]
around the lines
<script type="text/javascript"><!--
addReplyLink(0);
//--></script>
I don't know if this is the right solution, but it works for me.
Updated•20 years ago
|
Attachment #195854 -
Attachment mime type: application/octet-stream → text/plain
| Assignee | ||
Comment 2•20 years ago
|
||
*** Bug 318134 has been marked as a duplicate of this bug. ***
Attachment #195854 -
Flags: review?(LpSolit)
| Assignee | ||
Comment 3•20 years ago
|
||
Ingo's variant
- unrotted
- for HEAD (doesn't apply to the branch, unfortunately)
- with [%%] so that there is no whitespace between the reply link and the
preceding
Assignee: create-and-change → wurblzap
Attachment #195854 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #204469 -
Flags: review?(LpSolit)
Attachment #195854 -
Flags: review?(LpSolit)
Comment 4•20 years ago
|
||
Comment on attachment 204469 [details] [diff] [review]
Patch 1.0 in unified format
Nice catch! My Javascript console was full of this error message.
Please backport it to 2.20. 2.18 is not affected (the culprit is bug 199048 which landed on 2.19).
Attachment #204469 -
Flags: review?(LpSolit) → review+
Updated•20 years ago
|
Whiteboard: [doesn't affect 2.18]
Target Milestone: --- → Bugzilla 2.20
| Assignee | ||
Comment 5•20 years ago
|
||
Attachment #204864 -
Flags: review?(LpSolit)
| Assignee | ||
Updated•20 years ago
|
Keywords: regression
Comment 6•20 years ago
|
||
Comment on attachment 204864 [details] [diff] [review]
Patch 1.0 for the 2.20 branch
r=LpSolit
Attachment #204864 -
Flags: review?(LpSolit) → review+
Updated•20 years ago
|
Flags: approval?
Flags: approval2.20?
Updated•20 years ago
|
Flags: approval?
Flags: approval2.20?
Flags: approval2.20+
Flags: approval+
| Assignee | ||
Comment 7•20 years ago
|
||
Thanks, Ingo!
Tip:
Checking in template/en/default/bug/comments.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/comments.html.tmpl,v <-- comments.html.tmpl
new revision: 1.24; previous revision: 1.23
done
2.20 Branch:
Checking in template/en/default/bug/comments.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/comments.html.tmpl,v <-- comments.html.tmpl
new revision: 1.18.2.2; previous revision: 1.18.2.1
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 8•20 years ago
|
||
*** Bug 322745 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•