aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-05-05 18:41:00 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-05-05 18:41:00 +0200
commit63c0e1c9ebeacb7bf103fcd35f7ee03d5f432756 (patch)
tree48270e02a99d7453b41d27b223757f118656e86b /data
parent4b99c3d6a0efca79d94fc29398f0eab1fd75d492 (diff)
downloadbugzilla-triage-63c0e1c9ebeacb7bf103fcd35f7ee03d5f432756.tar.gz
Add makeJSONRPCCallWithLogin, and other small issues.
* Release 0.102 * Don't react on bugzilla.gnome.org per default * Simplify handling of preferences and debugging output.
Diffstat (limited to 'data')
-rw-r--r--data/lib/otherButtons.js2
-rw-r--r--data/rhlib/fixingAttMIME.js1
2 files changed, 2 insertions, 1 deletions
diff --git a/data/lib/otherButtons.js b/data/lib/otherButtons.js
index 6bcc043..6fa48e0 100644
--- a/data/lib/otherButtons.js
+++ b/data/lib/otherButtons.js
@@ -113,7 +113,7 @@ function addingEmbelishments(list) {
}
// TODO Get compiz bugs as well
- if ((new Boolean(constantData.chipNames)) && (list[0].length > 0)
+ if ((new Boolean(constantData.chipNames)) && (list.length > 0)
&& (!FillMagicDoneRE.test(getSummary()))
&& (maintCCAddr == "xgl-maint@redhat.com")) {
// Add find chip magic button
diff --git a/data/rhlib/fixingAttMIME.js b/data/rhlib/fixingAttMIME.js
index c2adde4..ada6974 100644
--- a/data/rhlib/fixingAttMIME.js
+++ b/data/rhlib/fixingAttMIME.js
@@ -64,6 +64,7 @@ function fixAttachById(id, XMLRPCURL, type, email) {
self.postMessage(new Message("MakeJSONRPCall", {
url : XMLRPCURL.replace("xmlrpc.cgi","jsonrpc.cgi"),
method : "bugzilla.updateAttachMimeType",
+ login: getLogin(),
params : params,
callRPC : "FixAttachmentMIMECallback"
}));