aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rhbzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-07-02 00:39:07 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-07-02 00:39:07 +0200
commit8347ad6b46164d1be2cf4b7e4a3c97438f827a2c (patch)
treed17d1e24c575f167d08bab7b11ac6b20726b2c7b /lib/rhbzpage.js
parent634303bee7cc51060b9b69bf27a9809f3b7c8d80 (diff)
downloadbugzilla-triage-8347ad6b46164d1be2cf4b7e4a3c97438f827a2c.tar.gz
Fix URL of the default JSON and make the script working even for non-me :)0.10
Diffstat (limited to 'lib/rhbzpage.js')
-rw-r--r--lib/rhbzpage.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index 7e930a3..da2ce7c 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -78,7 +78,9 @@ var RHBugzillaPage = function RHBugzillaPage(win, config) {
this.XorgLogAttListIndex = 0;
this.attachments = this.getAttachments();
this.markBadAttachments();
- this.setDefaultAssignee();
+ if (this.constantData.defaultAssignee) {
+ this.setDefaultAssignee();
+ }
// Dig out backtrace
this.btSnippet = "";