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/llnotifications.cpp | |
parent | debc51af6b6a35f7f635be9483a3bc4d0846a90d (diff) |
MAINT-6097 FIXED On required update, clicking link to release notes opens browser behind menu
Diffstat (limited to 'indra/llui/llnotifications.cpp')
-rwxr-xr-x | indra/llui/llnotifications.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llui/llnotifications.cpp b/indra/llui/llnotifications.cpp index 77e7d375c8..0cb959a315 100755 --- a/indra/llui/llnotifications.cpp +++ b/indra/llui/llnotifications.cpp @@ -417,6 +417,7 @@ LLNotificationTemplate::LLNotificationTemplate(const LLNotificationTemplate::Par mExpireOption(p.expire_option), mURLOption(p.url.option), mURLTarget(p.url.target), + mForceUrlsExternal(p.force_urls_external), mUnique(p.unique.isProvided()), mCombineBehavior(p.unique.combine), mPriority(p.priority), @@ -748,6 +749,11 @@ S32 LLNotification::getURLOpenExternally() const return(mTemplatep? mTemplatep->mURLTarget == "_external": -1); } +bool LLNotification::getForceUrlsExternal() const +{ + return (mTemplatep ? mTemplatep->mForceUrlsExternal : false); +} + bool LLNotification::hasUniquenessConstraints() const { return (mTemplatep ? mTemplatep->mUnique : false); |