summaryrefslogtreecommitdiff
path: root/indra/newview/llmediactrl.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-09-16 17:59:12 -0700
committerRichard Linden <none@none>2010-09-16 17:59:12 -0700
commit2f233f3eb48730eef4df708021752b0fd9b6c6b2 (patch)
tree25fd276c7b941a97629ccff6e7d5fe65fcbf1bb5 /indra/newview/llmediactrl.cpp
parent2dc14c66d4f50dfe4d140b5630cadf2febcee09d (diff)
reverted mediaenablepopups to false by default (desired behavior)
always trigger popup notification and rely on ignore machinery to hide it
Diffstat (limited to 'indra/newview/llmediactrl.cpp')
-rw-r--r--indra/newview/llmediactrl.cpp16
1 files changed, 6 insertions, 10 deletions
diff --git a/indra/newview/llmediactrl.cpp b/indra/newview/llmediactrl.cpp
index 7c94627dcb..621f241227 100644
--- a/indra/newview/llmediactrl.cpp
+++ b/indra/newview/llmediactrl.cpp
@@ -1042,16 +1042,12 @@ void LLMediaCtrl::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event)
std::string target = self->getClickTarget();
std::string uuid = self->getClickUUID();
- if(gSavedSettings.getBOOL("MediaEnablePopups"))
- {
-
- LLNotificationPtr popup_notify = LLNotifications::instance().add("PopupAttempt",
- LLSD(),
- LLSD().with("target", target).with("url", url).with("uuid", uuid),
- boost::bind(&LLMediaCtrl::onPopup, this, _1, _2));
- showNotification(popup_notify);
- break;
- }
+ LLNotificationPtr popup_notify = LLNotifications::instance().add("PopupAttempt",
+ LLSD(),
+ LLSD().with("target", target).with("url", url).with("uuid", uuid),
+ boost::bind(&LLMediaCtrl::onPopup, this, _1, _2));
+ showNotification(popup_notify);
+ break;
};
case MEDIA_EVENT_CLICK_LINK_NOFOLLOW: