diff options
author | McCabe Maxsted | 2009-11-07 17:45:29 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-11-07 17:45:29 -0700 |
commit | 1e891cbd2ada8941a278fa708a5ddf74e5c375d5 (patch) | |
tree | 9b1ab703da9bf4265e1b5e2b064446898009263b /linden/indra/newview/llpanellogin.cpp | |
parent | Fixed login grid combobox not updating correctly after logout (diff) | |
download | meta-impy-1e891cbd2ada8941a278fa708a5ddf74e5c375d5.zip meta-impy-1e891cbd2ada8941a278fa708a5ddf74e5c375d5.tar.gz meta-impy-1e891cbd2ada8941a278fa708a5ddf74e5c375d5.tar.bz2 meta-impy-1e891cbd2ada8941a278fa708a5ddf74e5c375d5.tar.xz |
Fixed login page not updating after logout
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpanellogin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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() | |||
870 | if (!sInstance) return; | 870 | if (!sInstance) return; |
871 | 871 | ||
872 | sInstance->childSetVisible("create_new_account_text", | 872 | sInstance->childSetVisible("create_new_account_text", |
873 | !gHippoGridManager->getConnectedGrid()->getRegisterUrl().empty()); | 873 | !gHippoGridManager->getCurrentGrid()->getRegisterUrl().empty()); |
874 | sInstance->childSetVisible("forgot_password_text", | 874 | sInstance->childSetVisible("forgot_password_text", |
875 | !gHippoGridManager->getConnectedGrid()->getPasswordUrl().empty()); | 875 | !gHippoGridManager->getCurrentGrid()->getPasswordUrl().empty()); |
876 | 876 | ||
877 | // kick off a request to grab the url manually | 877 | // kick off a request to grab the url manually |
878 | gResponsePtr = LLIamHereLogin::build(sInstance); | 878 | gResponsePtr = LLIamHereLogin::build(sInstance); |
879 | std::string login_page = gHippoGridManager->getConnectedGrid()->getLoginPage(); | 879 | std::string login_page = gHippoGridManager->getCurrentGrid()->getLoginPage(); |
880 | if (!login_page.empty()) { | 880 | if (!login_page.empty()) { |
881 | LLHTTPClient::head(login_page, gResponsePtr); | 881 | LLHTTPClient::head(login_page, gResponsePtr); |
882 | } else { | 882 | } else { |
@@ -890,7 +890,7 @@ void LLPanelLogin::loadLoginPage() | |||
890 | if (!sInstance) return; | 890 | if (!sInstance) return; |
891 | 891 | ||
892 | 892 | ||
893 | std::string login_page = gHippoGridManager->getConnectedGrid()->getLoginPage(); | 893 | std::string login_page = gHippoGridManager->getCurrentGrid()->getLoginPage(); |
894 | if (login_page.empty()) { | 894 | if (login_page.empty()) { |
895 | sInstance->setSiteIsAlive(false); | 895 | sInstance->setSiteIsAlive(false); |
896 | return; | 896 | return; |