Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-02-20, 06:49 PM   #1
alikim
A Fallenroot Satyr
Join Date: Jul 2015
Posts: 27
AH search text addon breaks the auctioneer

I want to copy the name of a craftable item from the crafting window to the AH window's search bar, when I click on the items' icon, so I wrote the following macros:


/run TradeSkillFrame.DetailsFrame.Contents.ResultIcon:SetScript("OnClick", function(self, event, ...) local t = {}; C_TradeSkillUI.GetRecipeInfo(TradeSkillFrame.DetailsFrame.selectedRecipeID, t); AuctionHouseFrame.SearchBar.SearchBox:SetText(t.name); end);

It works and does what I want but when I press Search button in the AH window it keeps showing me the yellow rotating circle and nothing happens. The auctioneer stops working altogether and reloading the UI doesn't help - I have to relog to make it work again.

So, what am I doing wrong?

Thank you!
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » AH search text addon breaks the auctioneer


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off