From 1e891cbd2ada8941a278fa708a5ddf74e5c375d5 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Sat, 7 Nov 2009 17:45:29 -0700 Subject: Fixed login page not updating after logout --- ChangeLog.txt | 5 +++++ linden/indra/newview/llpanellogin.cpp | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index fef6fec..3fbe511 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -22,6 +22,11 @@ 2009-11-07 McCabe Maxsted + * Fixed login page not updating after logout. + + modified: linden/indra/newview/llpanellogin.cpp + + * Fixed login grid combobox not updating correctly after logout. modified: linden/indra/newview/llpanellogin.cpp diff --git a/linden/indra/newview/llpanellogin.cpp b/linden/indra/newview/llpanellogin.cpp index 5dde3a3..629437d 100644 --- a/linden/indra/newview/llpanellogin.cpp +++ b/linden/indra/newview/llpanellogin.cpp @@ -870,13 +870,13 @@ void LLPanelLogin::refreshLoginPage() if (!sInstance) return; sInstance->childSetVisible("create_new_account_text", - !gHippoGridManager->getConnectedGrid()->getRegisterUrl().empty()); + !gHippoGridManager->getCurrentGrid()->getRegisterUrl().empty()); sInstance->childSetVisible("forgot_password_text", - !gHippoGridManager->getConnectedGrid()->getPasswordUrl().empty()); + !gHippoGridManager->getCurrentGrid()->getPasswordUrl().empty()); // kick off a request to grab the url manually gResponsePtr = LLIamHereLogin::build(sInstance); - std::string login_page = gHippoGridManager->getConnectedGrid()->getLoginPage(); + std::string login_page = gHippoGridManager->getCurrentGrid()->getLoginPage(); if (!login_page.empty()) { LLHTTPClient::head(login_page, gResponsePtr); } else { @@ -890,7 +890,7 @@ void LLPanelLogin::loadLoginPage() if (!sInstance) return; - std::string login_page = gHippoGridManager->getConnectedGrid()->getLoginPage(); + std::string login_page = gHippoGridManager->getCurrentGrid()->getLoginPage(); if (login_page.empty()) { sInstance->setSiteIsAlive(false); return; -- cgit v1.1