From bd26ab13b7d8e89eccb684f374959cfedbe51de7 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Tue, 7 Jun 2011 00:53:09 +0200 Subject: And even chip magic now works with new Attachment objects. --- data/lib/otherButtons.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'data/lib/otherButtons.js') 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"); -- cgit