diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/lib/otherButtons.js | 2 | ||||
-rw-r--r-- | data/rhlib/fixingAttMIME.js | 1 |
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" })); |