diff options
author | andreykproductengine <akleshchev@productengine.com> | 2016-03-11 20:16:03 +0200 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2016-03-11 20:16:03 +0200 |
commit | 230fc28d8a72e75a8f2af2ab5fa5ee0e3ccca4a1 (patch) | |
tree | 67d9c4133c4c9fce49b326180b138ed75fa990df /indra/llui/llnotificationtemplate.h | |
parent | debc51af6b6a35f7f635be9483a3bc4d0846a90d (diff) |
MAINT-6097 FIXED On required update, clicking link to release notes opens browser behind menu
Diffstat (limited to 'indra/llui/llnotificationtemplate.h')
-rwxr-xr-x | indra/llui/llnotificationtemplate.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/indra/llui/llnotificationtemplate.h b/indra/llui/llnotificationtemplate.h index c23fc53763..bed29254d8 100755 --- a/indra/llui/llnotificationtemplate.h +++ b/indra/llui/llnotificationtemplate.h @@ -177,7 +177,8 @@ struct LLNotificationTemplate Optional<bool> persist, log_to_im, show_toast, - log_to_chat; + log_to_chat, + force_urls_external; Optional<std::string> functor, icon, label, @@ -201,6 +202,7 @@ struct LLNotificationTemplate log_to_im("log_to_im", false), show_toast("show_toast", true), log_to_chat("log_to_chat", true), + force_urls_external("force_urls_external", false), functor("functor"), icon("icon"), label("label"), @@ -284,11 +286,16 @@ struct LLNotificationTemplate // that URL. Obsolete this and eliminate the buttons for affected // messages when we allow clickable URLs in the UI U32 mURLOption; - - std::string mURLTarget; - //This is a flag that tells if the url needs to open externally dispite + + //This is a flag that tells if option url needs to open externally dispite //what the user setting is. - + std::string mURLTarget; + + // All links clicked inside notification will be opened in external browser + // Note: Some notifications block and exit viewer, yet they provide a link + // to click, we should be able to open such links in external browser. + bool mForceUrlsExternal; + // does this notification persist across sessions? if so, it will be // serialized to disk on first receipt and read on startup bool mPersist; |