missed a few dataSource conversions
This commit is contained in:
@@ -103,7 +103,7 @@ function AtlasLoot_Testabc()
|
||||
end
|
||||
|
||||
function AtlasLoot:HideNoUsableItems()
|
||||
local dataID, dataSource, tablenum = AtlasLootItemsFrame.refreshOri[1], AtlasLootItemsFrame.refreshOri[2], AtlasLootItemsFrame.refreshOri[3];
|
||||
local dataID, dataSource, tablenum = AtlasLootItemsFrame.refreshOri[1], _G[AtlasLootItemsFrame.refreshOri[2]], AtlasLootItemsFrame.refreshOri[3];
|
||||
|
||||
local tablebase = dataSource[dataID][tablenum]
|
||||
if not tablebase or dataID == "WishList" or dataID == "SearchResult" then return end
|
||||
|
||||
@@ -52,7 +52,7 @@ local lootbground = CreateFrame("Frame", "AtlasLootDefaultFrame_LootBackground",
|
||||
lootbground:SetBackdropColor(0,0,0.5,0.5);
|
||||
lootbground:EnableMouse();
|
||||
lootbground:SetScript("OnMouseDown",function(self, button)
|
||||
if AtlasLootItemsFrame.refresh[2][AtlasLootItemsFrame.refresh[1]].Back and button == "RightButton" then
|
||||
if _G[AtlasLootItemsFrame.refresh[2]][AtlasLootItemsFrame.refresh[1]].Back and button == "RightButton" then
|
||||
AtlasLoot:BackButton_OnClick();
|
||||
elseif AtlasLootDefaultFrame_AdvancedSearchPanel:IsVisible() and button == "RightButton" then
|
||||
AtlasLoot_AdvancedSearchClose();
|
||||
|
||||
Reference in New Issue
Block a user