aboutsummaryrefslogtreecommitdiffstats
path: root/data/tweaks
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-05-06 23:27:12 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-05-06 23:27:12 +0200
commitce11514ac83f11d6762fd38b01d7846d617402f8 (patch)
tree524e56da5624d65e722b583558fef1270b586d95 /data/tweaks
parentdfd28fb5fd37e2cc07d6d1642d7e72cc0f0ab05c (diff)
downloadbugzilla-triage-ce11514ac83f11d6762fd38b01d7846d617402f8.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.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/data/tweaks/bug-page-mod.js b/data/tweaks/bug-page-mod.js
index 9d80abc..482108e 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);
}