show/hide this revision's text 2 added hover

Mine's way shorter. I assume this means that I did something wrong ;)

Update: It links any "subcase xyz" or "case xyz" in changelines. Also added hover box

name:          Sub-case / parent-case changeline links
description:   Linkifies "added subcase xyz" or "parent case changed from case 123 to case 567" in bugevent change-lines
author:        Adam Wishneusky
version:       1.1.0.0

js:

$("div.bugevent > div.changes").each(function(index) {
    $(this).html($(this).html().replace(/subcase (this).html($(this).html().replace(/((sub)?case) (\d+)/,"\d+)/ig,"<a href=\"/?$1\href=\"/?$3\" >subcase onmouseover=\"b1($3, this);\">$1 $13</a>"));
})
show/hide this revision's text 1

Mine's way shorter. I assume this means that I did something wrong ;)

$("div.bugevent > div.changes").each(function(index) {
    $(this).html($(this).html().replace(/subcase (\d+)/,"<a href=\"/?$1\">subcase $1</a>"));
})