Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
8ab75a83
Commit
8ab75a83
authored
Nov 21, 2007
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 404412: Couldn't edit comments anymore because of a regression from bug 401957.
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
parent
e59296bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
comments.html.tmpl
template/en/default/bug/comments.html.tmpl
+1
-1
edit.html.tmpl
template/en/default/bug/edit.html.tmpl
+4
-4
No files found.
template/en/default/bug/comments.html.tmpl
View file @
8ab75a83
...
@@ -183,7 +183,7 @@
...
@@ -183,7 +183,7 @@
[% IF mode == "edit" %]
[% IF mode == "edit" %]
<script type="text/javascript"><!--
<script type="text/javascript"><!--
addCollapseLink([% count %]);
addCollapseLink([% count %]);
addReplyLink([% count %]); //-->
addReplyLink([% count %]
, [% comment.id %]
); //-->
</script>
</script>
[% END %]
[% END %]
[%+ decoration FILTER none %]
[%+ decoration FILTER none %]
...
...
template/en/default/bug/edit.html.tmpl
View file @
8ab75a83
...
@@ -32,18 +32,18 @@
...
@@ -32,18 +32,18 @@
<!--
<!--
/* Outputs a link to call replyToComment(); used to reduce HTML output */
/* Outputs a link to call replyToComment(); used to reduce HTML output */
function addReplyLink(id) {
function addReplyLink(id
, real_id
) {
/* XXX this should really be updated to use the DOM Core's
/* XXX this should really be updated to use the DOM Core's
* createElement, but finding a container isn't trivial.
* createElement, but finding a container isn't trivial.
*/
*/
[% IF user.settings.quote_replies.value != 'off' %]
[% IF user.settings.quote_replies.value != 'off' %]
document.write('[<a href="#add_comment" onclick="replyToComment(' +
document.write('[<a href="#add_comment" onclick="replyToComment(' +
id + ');">reply<' + '/a>]');
id + '
,' + real_id + '
);">reply<' + '/a>]');
[% END %]
[% END %]
}
}
/* Adds the reply text to the `comment' textarea */
/* Adds the reply text to the `comment' textarea */
function replyToComment(id) {
function replyToComment(id
, real_id
) {
var prefix = "(In reply to comment #" + id + ")\n";
var prefix = "(In reply to comment #" + id + ")\n";
var replytext = "";
var replytext = "";
[% IF user.settings.quote_replies.value == 'quoted_reply' %]
[% IF user.settings.quote_replies.value == 'quoted_reply' %]
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
[% END %]
[% END %]
[% IF Param("insidergroup") && user.in_group(Param("insidergroup")) %]
[% IF Param("insidergroup") && user.in_group(Param("insidergroup")) %]
if (document.getElementById('isprivate
-'+
id).checked) {
if (document.getElementById('isprivate
_' + real_
id).checked) {
document.getElementById('newcommentprivacy').checked = 'checked';
document.getElementById('newcommentprivacy').checked = 'checked';
}
}
[% END %]
[% END %]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment