summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-01-13 19:37:52 +0100
committerDave Lawrence <dlawrence@mozilla.com>2012-01-13 19:37:52 +0100
commitce3d3ecafe7283d46a0ebb9e45e384a1b9af27ed (patch)
tree6cba5712fc9a2ea99a3e4183680f591edb758811 /template/en
parent7f598481cd15b11c43cd68befaad3ce1809669bf (diff)
downloadbugzilla-ce3d3ecafe7283d46a0ebb9e45e384a1b9af27ed.tar.gz
bugzilla-ce3d3ecafe7283d46a0ebb9e45e384a1b9af27ed.tar.xz
Bug 714335 - Multiple clicks of the reply link on comments keeps adding the reply text to the new comment box
r/a=LpSolit
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/bug/comments.html.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl
index 3d9b652ea..d6a9fcca2 100644
--- a/template/en/default/bug/comments.html.tmpl
+++ b/template/en/default/bug/comments.html.tmpl
@@ -35,7 +35,9 @@
/* <textarea id="comment"> */
var textarea = document.getElementById('comment');
- textarea.value += replytext;
+ if (textarea.value != replytext) {
+ textarea.value += replytext;
+ }
textarea.focus();
}