Fix for usage with the Addon MobileFrames
The addon MobileFrames changes the parent. So you get a LUA error at those lines. After this change, it works with and without MobileFrames. MobileFrames: https://drive.google.com/file/d/0BxUEpLqG5Y0Edm5HbFNWdjFtbWM/view
This commit is contained in:
+3
-3
@@ -98,8 +98,8 @@ end
|
|||||||
function ADDON_LOADED()
|
function ADDON_LOADED()
|
||||||
if arg1 ~= 'postal' then return end
|
if arg1 ~= 'postal' then return end
|
||||||
|
|
||||||
UIPanelWindows.MailFrame.pushable = 1
|
MailFrame.pushable = 1
|
||||||
UIPanelWindows.FriendsFrame.pushable = 2
|
FriendsFrame.pushable = 2
|
||||||
|
|
||||||
Inbox_Load()
|
Inbox_Load()
|
||||||
SendMail_Load()
|
SendMail_Load()
|
||||||
@@ -764,4 +764,4 @@ do
|
|||||||
postalAutoCompleteBox:Hide()
|
postalAutoCompleteBox:Hide()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user