diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-05-06 23:27:12 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-06-05 14:52:35 +0200 |
commit | 59d6e1bf4e439febbc40c15486303e12febb7e42 (patch) | |
tree | d0d6b29f8b3b66e501e51d81caa2f4a5504a5083 /data/tweaks | |
parent | d2518a3ab99afce2b2f33358cbb41778eaae0f7f (diff) | |
download | bugzilla-triage-59d6e1bf4e439febbc40c15486303e12febb7e42.tar.gz |
Make the script working with bugzilla.gnome.org
* Fix Config_gnome.json for new system of killNodes
* Make the script more tolerable to non-RH configuration
Fixes #75
Diffstat (limited to 'data/tweaks')
-rw-r--r-- | data/tweaks/bug-page-mod.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/data/tweaks/bug-page-mod.js b/data/tweaks/bug-page-mod.js index c2b529e..2c92aee 100644 --- a/data/tweaks/bug-page-mod.js +++ b/data/tweaks/bug-page-mod.js @@ -196,8 +196,10 @@ function tweakBugzilla(d, cData) { var CheckinComment = new CheckinCommentCtor(); CheckinComment.initialize(d, AttachmentFlagHandler._interestingFlags); - var XMLRPCUrl = cData.XMLRPCData[d.location.hostname].url; - collectHistory(XMLRPCUrl); + if (d.location.hostname in cData.XMLRPCData) { + var XMLRPCUrl = cData.XMLRPCData[d.location.hostname].url; + collectHistory(XMLRPCUrl); + } tbplbotSpamCollapser(d); } |