Skip to content

Commit

Permalink
REGEX matches TASK too - issue jeremiahshirk#6
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuquix committed Jul 29, 2013
1 parent ee133bc commit d573f53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leankit-servicenow.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ setInterval(function(){
$("div.text").not(".wserewrite")
.each(function () {
label = $(this).text().replace(
/((RITM|REQ|INC)[0-9]+)/,
/((RITM|REQ|INC|TASK)[0-9]+)/,
'<a target="_" style="color:blue" href="https://kstate.service-now.com/nav_to.do?uri=textsearch.do?sysparm_search=$1">$1</a>');
$(this).html(label);
$(this).addClass("wserewrite");
Expand Down

0 comments on commit d573f53

Please sign in to comment.