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:
Bulli
2017-08-15 18:53:19 +02:00
committed by GitHub
parent f22e2047c6
commit 786f063bf9
+3 -3
View File
@@ -98,8 +98,8 @@ end
function ADDON_LOADED()
if arg1 ~= 'postal' then return end
UIPanelWindows.MailFrame.pushable = 1
UIPanelWindows.FriendsFrame.pushable = 2
MailFrame.pushable = 1
FriendsFrame.pushable = 2
Inbox_Load()
SendMail_Load()
@@ -764,4 +764,4 @@ do
postalAutoCompleteBox:Hide()
end
end
end
end