mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 237473 ChatZilla should support aliases for bugs
patch by gijskruitbosch+bugs@gmail.com r=ssieb
This commit is contained in:
parent
21df52f8d9
commit
f4ab522d15
@ -861,7 +861,7 @@ function insertChannelLink (matchText, containerTag, eventData)
|
||||
|
||||
function insertBugzillaLink (matchText, containerTag, eventData)
|
||||
{
|
||||
var idOrAlias = matchText.match(/bug\s+#?(\d{3,6}|[^\s,]{1,20})/)[1];
|
||||
var idOrAlias = matchText.match(/bug\s+#?(\d{3,6}|[^\s,]{1,20})/i)[1];
|
||||
|
||||
var anchor = document.createElementNS ("http://www.w3.org/1999/xhtml",
|
||||
"html:a");
|
||||
|
Loading…
Reference in New Issue
Block a user