diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-01-13 19:41:20 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-01-13 19:41:20 +0100 |
commit | bea72931e7522f3135b5788824d8319f4144b94d (patch) | |
tree | bfbd4a9c8eabb90bee398a80c1be3cf6967c35e3 /template/en/default/bug | |
parent | 949ceaace6413cbc462cf5a212d27c5e10f1e33c (diff) | |
download | bugzilla-bea72931e7522f3135b5788824d8319f4144b94d.tar.gz bugzilla-bea72931e7522f3135b5788824d8319f4144b94d.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/bug')
-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 ea0b774c0..635fc5848 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -52,7 +52,9 @@ /* <textarea id="comment"> */ var textarea = document.getElementById('comment'); - textarea.value += replytext; + if (textarea.value != replytext) { + textarea.value += replytext; + } textarea.focus(); } |