aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/otherButtons.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-06-07 00:53:09 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-06-07 00:53:09 +0200
commitbd26ab13b7d8e89eccb684f374959cfedbe51de7 (patch)
tree9e08c2db62c373c21679c73e79b013d81ecf65e6 /data/lib/otherButtons.js
parent75848ce166959a4e38c5191522b15e35706d3202 (diff)
downloadbugzilla-triage-bd26ab13b7d8e89eccb684f374959cfedbe51de7.tar.gz
And even chip magic now works with new Attachment objects.
Diffstat (limited to 'data/lib/otherButtons.js')
-rw-r--r--data/lib/otherButtons.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/data/lib/otherButtons.js b/data/lib/otherButtons.js
index ea5f67b..6935b8e 100644
--- a/data/lib/otherButtons.js
+++ b/data/lib/otherButtons.js
@@ -95,7 +95,7 @@ function addingEmbelishments(logList) {
&& (!FillMagicDoneRE.test(getSummary()))
&& (maintCCAddr == "xgl-maint@redhat.com")) {
// Add find chip magic button
- fillInChipMagic(logList[0][1]);
+ fillInChipMagic(logList[0].id);
}
// Add links for creating new bug in the same product
@@ -114,9 +114,11 @@ function addingEmbelishments(logList) {
* String with the IsueTracker numbers
* @return none
*/
-function setBranding(atts) {
+function setBranding(things) {
var brandColor = {};
var TriagedColor = {};
+
+ var atts = things.attachments;
var xLogAtts = atts.getXorgList();
var ITbutton = document.getElementById("cf_issuetracker");