diff options
| author | brad kittenbrink <brad@lindenlab.com> | 2009-08-06 18:54:22 -0700 |
|---|---|---|
| committer | brad kittenbrink <brad@lindenlab.com> | 2009-08-06 18:54:22 -0700 |
| commit | 469836c4c7e8810502a89ce291bbd64548f0c70c (patch) | |
| tree | 4dfa1bdb781010c20d67bb5b7f9941e0fd5fb584 /indra/newview/lllogininstance.cpp | |
| parent | c9ee582c12bbdcfe7f37459f947872e3ef462560 (diff) | |
| parent | e6c9f944380d3a9b6562cf580e8c43a69c060dfd (diff) | |
Merged in partial rollback of LLFloaterTOS post-merge fixes.
Diffstat (limited to 'indra/newview/lllogininstance.cpp')
| -rw-r--r-- | indra/newview/lllogininstance.cpp | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/indra/newview/lllogininstance.cpp b/indra/newview/lllogininstance.cpp index 3c59cb83cd..428bed7b72 100644 --- a/indra/newview/lllogininstance.cpp +++ b/indra/newview/lllogininstance.cpp @@ -222,19 +222,26 @@ bool LLLoginInstance::handleLoginFailure(const LLSD& event) // to reconnect or to end the attempt in failure. if(reason_response == "tos") { - LLFloaterTOS * tos = + LLFloaterTOS * tos =
LLFloaterReg::showTypedInstance<LLFloaterTOS>("message_tos", LLSD(message_response)); - - tos->setTOSCallback(boost::bind(&LLLoginInstance::handleTOSResponse, + /* + LLFloaterTOS::show(LLFloaterTOS::TOS_TOS, + message_response, + boost::bind(&LLLoginInstance::handleTOSResponse, this, _1, "agree_to_tos")); + */ } else if(reason_response == "critical") { - LLFloaterTOS * tos = + LLFloaterTOS * tos =
LLFloaterReg::showTypedInstance<LLFloaterTOS>("message_critical",LLSD(message_response)); - - tos->setTOSCallback(boost::bind(&LLLoginInstance::handleTOSResponse, - this, _1, "read_critical")); + /* + LLFloaterTOS::show(LLFloaterTOS::TOS_CRITICAL_MESSAGE, + message_response, + boost::bind(&LLLoginInstance::handleTOSResponse, + this, _1, "read_critical") + ); + */ } else if(reason_response == "update" || gSavedSettings.getBOOL("ForceMandatoryUpdate")) { |
