summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorDmitry Zaporozhan <dzaporozhan@productengine.com>2009-11-23 15:50:49 +0200
committerDmitry Zaporozhan <dzaporozhan@productengine.com>2009-11-23 15:50:49 +0200
commit9f0dbcf4c0c6c8621c377fd7f9e417aa76acd836 (patch)
treed6ea62b73e0b74bc3e6babb9596f25b8d46029a0 /indra/newview/llviewermessage.cpp
parentd0c1593d85cd26ad822d31e21df7a1864d66541c (diff)
Update for task EXT-2081 - Object IM chiclets art needs to be hooked up to LLDialog chiclets.
Cleaned code, added comments. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r--indra/newview/llviewermessage.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index ac1f366f9c..4d7d3ee8ac 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -5382,13 +5382,15 @@ void process_script_dialog(LLMessageSystem* msg, void**)
LLNotification::Params("ScriptDialogGroup").substitutions(args).payload(payload).form_elements(form.asLLSD()));
}
+ // "ScriptDialog" and "ScriptDialogGroup" are handles by LLScriptFloaterManager.
+ // We want to inform user that there is a script floater, lets add "ScriptToast"
LLNotification::Params p("ScriptToast");
p.substitutions(args).payload(payload).functor.function(boost::bind(
LLScriptFloaterManager::onToastButtonClick, _1, _2));
notification = LLNotifications::instance().add(p);
- LLScriptFloaterManager::getInstance()->setToastNotificationId(
+ LLScriptFloaterManager::getInstance()->setNotificationToastId(
object_id, notification->getID());
}