aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/util.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-05-07 00:53:06 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-05-07 01:43:05 +0200
commit9d6c70c656052e1c4f7df7a255c4f493d56f08c8 (patch)
tree01ef018b9cc3d7c7019bd36598f7472f4e0abb09 /data/lib/util.js
parentce11514ac83f11d6762fd38b01d7846d617402f8 (diff)
downloadbugzilla-triage-9d6c70c656052e1c4f7df7a255c4f493d56f08c8.tar.gz
Another massive cleanup and simplification of tweak scripts.
bugs on bugzilla.mozilla.org now work as well, although the history is still not shown inline, which remains for 1.1. Fixes #88
Diffstat (limited to 'data/lib/util.js')
-rw-r--r--data/lib/util.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/lib/util.js b/data/lib/util.js
index 11cf3bc..1c3e607 100644
--- a/data/lib/util.js
+++ b/data/lib/util.js
@@ -160,6 +160,9 @@ function createDeadLink (id, text, parent, callback, params, before, covered, ac
else if (before === "dash") {
locParent.insertBefore(document.createTextNode("\u00A0-\u00A0"), newAElem);
}
+ else if (before === "pipe") {
+ locParent.insertBefore(document.createTextNode("\u00A0|\u00A0"), newAElem);
+ }
else if (before === "parens") {
locParent.appendChild(document.createTextNode(")"));
locParent.insertBefore(document.createTextNode("("), newAElem);