summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-10-02 17:09:55 +0200
committerByron Jones <bjones@mozilla.com>2012-10-02 17:09:55 +0200
commit1c0d69b4115f41f689453e69eb4e6d2c1b7222b6 (patch)
tree54c8883dc7ddd477e7acdecf8d4a68f2cbc13ea6
parenta09cb28b09b6c7e2af6eba9c5b0dc9c137f82983 (diff)
downloadbugzilla-1c0d69b4115f41f689453e69eb4e6d2c1b7222b6.tar.gz
bugzilla-1c0d69b4115f41f689453e69eb4e6d2c1b7222b6.tar.xz
Bug 796043: Inline history eats your comment if you quote a duplicated bug
-rw-r--r--extensions/InlineHistory/web/inline-history.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/InlineHistory/web/inline-history.js b/extensions/InlineHistory/web/inline-history.js
index 973ae09ec..0d38edf7f 100644
--- a/extensions/InlineHistory/web/inline-history.js
+++ b/extensions/InlineHistory/web/inline-history.js
@@ -14,7 +14,7 @@ var inline_history = {
Dom = YAHOO.util.Dom;
// remove 'has been marked as a duplicate of this bug' comments
- var reDuplicate = /\*\*\* \S+ \d+ has been marked as a duplicate of this/;
+ var reDuplicate = /^\*\*\* \S+ \d+ has been marked as a duplicate of this/;
var reBugId = /show_bug\.cgi\?id=(\d+)/;
var comments = Dom.getElementsByClassName("bz_comment", 'div', 'comments');
for (var i = 1, il = comments.length; i < il; i++) {