diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-01-13 19:37:52 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-01-13 19:37:52 +0100 |
commit | ce3d3ecafe7283d46a0ebb9e45e384a1b9af27ed (patch) | |
tree | 6cba5712fc9a2ea99a3e4183680f591edb758811 /template/en/default | |
parent | 7f598481cd15b11c43cd68befaad3ce1809669bf (diff) | |
download | bugzilla-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/default')
-rw-r--r-- | template/en/default/bug/comments.html.tmpl | 4 |
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(); } |