diff options
author | Richard Nelson <none@none> | 2010-09-20 19:16:17 -0700 |
---|---|---|
committer | Richard Nelson <none@none> | 2010-09-20 19:16:17 -0700 |
commit | a748466377982f376d4901e3450e6b927cf96a4d (patch) | |
tree | 33351c628ca88295cafa6cc84403318e8f651098 /indra/llui | |
parent | 7c0a6df30a1d78611782767763b7710702b96336 (diff) |
EXP-82 FIX MOTD open in external browser notification not given until fully logged in
reviewed by Monroe
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llnotifications.cpp | 6 | ||||
-rw-r--r-- | indra/llui/llnotifications.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/indra/llui/llnotifications.cpp b/indra/llui/llnotifications.cpp index 2a7ca4c321..9d14c4149c 100644 --- a/indra/llui/llnotifications.cpp +++ b/indra/llui/llnotifications.cpp @@ -628,6 +628,12 @@ void LLNotification::respond(const LLSD& response) update(); } +void LLNotification::respondWithDefault() +{ + respond(getResponseTemplate(WITH_DEFAULT_BUTTON)); +} + + const std::string& LLNotification::getName() const { return mTemplatep->mName; diff --git a/indra/llui/llnotifications.h b/indra/llui/llnotifications.h index dcb7b48f92..4fe1687f0e 100644 --- a/indra/llui/llnotifications.h +++ b/indra/llui/llnotifications.h @@ -441,6 +441,7 @@ public: LLSD asLLSD(); void respond(const LLSD& sd); + void respondWithDefault(); void* getResponder() { return mResponderObj; } |