Mercurial > wow > itemauditor
diff Modules/Crafting.lua @ 148:106c1523777e 2010-10-16
Fixed references to 'this' which Blizzard removed in 4.0.1
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Sat, 16 Oct 2010 07:35:50 -0700 |
parents | a529a4a4ccbe |
children | 613fd4bc6999 |
line wrap: on
line diff
--- a/Modules/Crafting.lua Wed Oct 13 21:47:20 2010 -0700 +++ b/Modules/Crafting.lua Sat Oct 16 07:35:50 2010 -0700 @@ -274,10 +274,10 @@ btnProcess:SetPoint("BOTTOMRIGHT", craftingContent, 0, 0) btnProcess:RegisterForClicks("LeftButtonUp"); - local function UpdateProcessTooltip(btn) + local function UpdateProcessTooltip() local data = ItemAuditor:GetCraftingRow(1) if data then - GameTooltip:SetOwner(this, "ANCHOR_CURSOR") + GameTooltip:SetOwner(btnProcess, "ANCHOR_CURSOR") GameTooltip:SetText(format('Create %sx%s', data.link, data.queue)) GameTooltip:Show() end @@ -487,6 +487,7 @@ end local row = 1 + getQueueLocation() for i = 1, numTradeSkills do local itemLink = GetTradeSkillItemLink(i)