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
b0f5a16e
Commit
b0f5a16e
authored
Oct 11, 2016
by
Anamika_07
Committed by
Dylan William Hardison
Oct 11, 2016
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 711655 - 'reply' JS should insert at caret position
r=dylan
parent
d9ba51c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
comments.js
js/comments.js
+2
-2
No files found.
js/comments.js
View file @
b0f5a16e
...
@@ -29,8 +29,8 @@ function replyToComment(id, real_id, replyto_header, text) {
...
@@ -29,8 +29,8 @@ function replyToComment(id, real_id, replyto_header, text) {
/* <textarea id="comment"> */
/* <textarea id="comment"> */
var
textarea
=
document
.
getElementById
(
'comment'
);
var
textarea
=
document
.
getElementById
(
'comment'
);
if
(
textarea
.
value
!=
replytext
)
{
if
(
!
textarea
.
value
.
startsWith
(
replytext
)
)
{
textarea
.
value
+=
replytext
;
textarea
.
value
=
replytext
+
"
\
n"
+
textarea
.
value
;
}
}
textarea
.
focus
();
textarea
.
focus
();
...
...
Vitaly Lipatov
@lav
mentioned in commit
c4a1ca8c
·
Jul 26, 2026
mentioned in commit
c4a1ca8c
mentioned in commit c4a1ca8cb5a117d2ab992918131ee0c093d7187b
Toggle commit list
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