diff options
author | Byron Jones <bjones@mozilla.com> | 2012-06-25 16:01:28 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-06-25 16:01:28 +0200 |
commit | 5c656675e8a45f1ba6cf57dfdd32a2ef0c9acf85 (patch) | |
tree | 0d2d219d096e705689f321db587d1734c474df44 | |
parent | c696b87beabb93c1d929410b6a51d097aa76c812 (diff) | |
download | bugzilla-5c656675e8a45f1ba6cf57dfdd32a2ef0c9acf85.tar.gz bugzilla-5c656675e8a45f1ba6cf57dfdd32a2ef0c9acf85.tar.xz |
Bug 767038: review flags no longer link from attachment table to comment
-rw-r--r-- | extensions/InlineHistory/web/inline-history.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/InlineHistory/web/inline-history.js b/extensions/InlineHistory/web/inline-history.js index c4930e15b..e07872c9e 100644 --- a/extensions/InlineHistory/web/inline-history.js +++ b/extensions/InlineHistory/web/inline-history.js @@ -373,9 +373,9 @@ var inline_history = { }, htmlDecode: function(v) { - var e = document.createElement('div'); + var e = document.createElement('textarea'); e.innerHTML = v; - return e.childNodes.length == 0 ? '' : e.childNodes[0].nodeValue; + return e.value; }, trim: function(s) { |