summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorCinders <cinder.roxley@phoenixviewer.com>2013-07-15 14:24:29 -0600
committerCinders <cinder.roxley@phoenixviewer.com>2013-07-15 14:24:29 -0600
commitcc18896faf3944a4725fe4c705db5e8c0370f8c2 (patch)
treef2a84b0b1a05bc2067e5fe9054bdf0af57cdf74c /indra/newview
parent6060e5e46acbeb20a301070a0fd0efea029d33d0 (diff)
STORM-1951: Only toast when we should, honor show_toast notification param
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llnotificationscripthandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llnotificationscripthandler.cpp b/indra/newview/llnotificationscripthandler.cpp
index 08c98e4f28..56ed1044e9 100755
--- a/indra/newview/llnotificationscripthandler.cpp
+++ b/indra/newview/llnotificationscripthandler.cpp
@@ -87,7 +87,7 @@ bool LLScriptHandler::processNotification(const LLNotificationPtr& notification)
{
LLScriptFloaterManager::getInstance()->onAddNotification(notification->getID());
}
- else
+ else if (notification->canShowToast())
{
LLToastPanel* notify_box = LLToastPanel::buidPanelFromNotification(notification);