Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8284eefb2b | |||
| d0b6ac7cff | |||
| 068d4782a9 | |||
| 66eb505af9 |
@@ -598,7 +598,7 @@ function AccountLogin_OnKeyDown(key)
|
|||||||
if ConnectionHelpFrame:IsShown() then
|
if ConnectionHelpFrame:IsShown() then
|
||||||
ConnectionHelpFrame:Hide()
|
ConnectionHelpFrame:Hide()
|
||||||
AccountLoginUI:Show()
|
AccountLoginUI:Show()
|
||||||
elseif SurveyNotificationFrame:IsShown() then
|
elseif SurveyNotificationFrame and SurveyNotificationFrame:IsShown() then
|
||||||
else
|
else
|
||||||
AccountLogin_Exit()
|
AccountLogin_Exit()
|
||||||
end
|
end
|
||||||
@@ -607,7 +607,7 @@ function AccountLogin_OnKeyDown(key)
|
|||||||
return
|
return
|
||||||
elseif TOSFrame:IsShown() or ConnectionHelpFrame:IsShown() then
|
elseif TOSFrame:IsShown() or ConnectionHelpFrame:IsShown() then
|
||||||
return
|
return
|
||||||
elseif SurveyNotificationFrame:IsShown() then
|
elseif SurveyNotificationFrame and SurveyNotificationFrame:IsShown() then
|
||||||
AccountLogin_SurveyNotificationDone(1)
|
AccountLogin_SurveyNotificationDone(1)
|
||||||
end
|
end
|
||||||
AccountLogin_PrimaryAction()
|
AccountLogin_PrimaryAction()
|
||||||
@@ -957,6 +957,12 @@ function AccountLogin_Exit()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function AccountLogin_ShowSurveyNotification()
|
function AccountLogin_ShowSurveyNotification()
|
||||||
|
if not SurveyNotificationFrame or
|
||||||
|
not SurveyNotificationAccept or
|
||||||
|
not SurveyNotificationDecline then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
GlueDialog:Hide()
|
GlueDialog:Hide()
|
||||||
AccountLoginUI:Hide()
|
AccountLoginUI:Hide()
|
||||||
SurveyNotificationAccept:Enable()
|
SurveyNotificationAccept:Enable()
|
||||||
@@ -965,11 +971,19 @@ function AccountLogin_ShowSurveyNotification()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function AccountLogin_SurveyNotificationDone(accepted)
|
function AccountLogin_SurveyNotificationDone(accepted)
|
||||||
SurveyNotificationFrame:Hide()
|
if SurveyNotificationFrame then
|
||||||
SurveyNotificationAccept:Disable()
|
SurveyNotificationFrame:Hide()
|
||||||
SurveyNotificationDecline:Disable()
|
end
|
||||||
SurveyNotificationDone(accepted)
|
if SurveyNotificationAccept then
|
||||||
AccountLoginUI:Show()
|
SurveyNotificationAccept:Disable()
|
||||||
|
end
|
||||||
|
if SurveyNotificationDecline then
|
||||||
|
SurveyNotificationDecline:Disable()
|
||||||
|
end
|
||||||
|
if type(SurveyNotificationDone) == "function" then
|
||||||
|
SurveyNotificationDone(accepted)
|
||||||
|
end
|
||||||
|
ApplyLaunchMode()
|
||||||
end
|
end
|
||||||
|
|
||||||
function AccountLogin_ShowUserAgreements()
|
function AccountLogin_ShowUserAgreements()
|
||||||
|
|||||||
Vendored
+1
-1
Submodule vendor/modules/wxl-modern-m2 updated: b5a823a44b...1aa2b79a8c
Vendored
+1
-1
Submodule vendor/warcraftxl updated: 30395282a0...60033ab125
Reference in New Issue
Block a user