Fixes for outlier GP prices across all items, emphasis on T1 and Dragons, fixes to GP scaling.
Standings list (for members) and other lists (for admins) can now be dismissed with Esc. Add log window for admins. Better permission checking, confirmation dialog for some important actions. Fix Bid detection regex false positives eg.[Elixir of Mongoose]. Remove a bunch of menus and windows for members that they never use.
This commit is contained in:
@@ -38,12 +38,30 @@ function sepgp_reserves:Refresh()
|
||||
T:Refresh("sepgp_reserves")
|
||||
end
|
||||
|
||||
function sepgp_reserves:setHideScript()
|
||||
local detachedFrame, tablet
|
||||
for i=1,4 do
|
||||
tablet = getglobal(string.format("Tablet20DetachedFrame%d",1))
|
||||
if tablet and tablet.owner ~= nil and tablet.owner == "sepgp_reserves" then
|
||||
if not (tablet:GetScript("OnHide")) then
|
||||
tablet:SetScript("OnHide",function()
|
||||
if not T:IsAttached("sepgp_reserves") then
|
||||
T:Attach("sepgp_reserves")
|
||||
this:SetScript("OnHide",nil)
|
||||
end
|
||||
end)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function sepgp_reserves:Toggle(forceShow)
|
||||
if T:IsAttached("sepgp_reserves") then
|
||||
T:Detach("sepgp_reserves")
|
||||
if (T:IsLocked("sepgp_reserves")) then
|
||||
T:ToggleLocked("sepgp_reserves")
|
||||
end
|
||||
self:setHideScript()
|
||||
elseif (forceShow) then
|
||||
else
|
||||
T:Attach("sepgp_reserves")
|
||||
|
||||
Reference in New Issue
Block a user