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-06-05 14:52:35 +0200
commit49feb276224dfa812339b94cfe52ea8f0ee5c491 (patch)
treec9e9c296b1f70fa4573442cd9065d53dc5d35eb5 /data
parentda49b6460ae02a1a1f0e86aef8f541798730a18f (diff)
downloadbugzilla-triage-49feb276224dfa812339b94cfe52ea8f0ee5c491.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"
}));