Mercurial > wow > mailopener
diff Core.lua @ 1:6f17035de058
MO will now request a server refresh when mail opening has finished, ignoring the timer.
(Collected Module) Fixed the time spent to only be displayed if it is being tracked.
The inventory full sound will properly be played again when your bags change.
| author | Zerotorescue |
|---|---|
| date | Sun, 05 Sep 2010 17:02:19 +0200 |
| parents | 823e33465b6e |
| children | 57ba1593ac42 |
line wrap: on
line diff
--- a/Core.lua Fri Sep 03 12:43:36 2010 +0200 +++ b/Core.lua Sun Sep 05 17:02:19 2010 +0200 @@ -193,15 +193,6 @@ end); -- And add it to the interface options InterfaceOptions_AddCategory(frame); - - -- If the above becomes impossible this is another way to load the config module when required due to Interface/AddOns options - --InterfaceOptionsFrameTab2:HookScript("OnClick", function() - -- -- Load the config module - -- MailOpener:EnableConfigModule(); - - -- -- Load the options and add it to the blizzard interface list - -- MailOpenerConfig:Load(); - --end); end function MailOpener:OnEnable() @@ -421,7 +412,10 @@ function MailOpener:MO_OPEN_COMPLETE() opening = false; - + + -- Try a recheck + self:Recheck(); + local current, total = GetInboxNumItems(); if (total - current) == 0 then @@ -615,7 +609,9 @@ whileDead = 1, hideOnEscape = 1, maxLetters = 1024, -} +}; + +-- The below either has to be removed or changed when releasing function MailOpener:ShowBetaPopup() function TableDump(key, val, jumps)
