From 50cee8d660d069611220ce57f2190702c022458c Mon Sep 17 00:00:00 2001
From: Kelly Washington <kelly@lindenlab.com>
Date: Fri, 3 May 2013 21:58:19 +0000
Subject: [PATCH] MAINT-2655: "Block button in permissions dialog prompt does
 not block object" * Fix mute button.

---
 indra/newview/llviewermessage.cpp | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index fe68592c57b..ace16396dbe 100755
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -6476,8 +6476,13 @@ void process_script_question(LLMessageSystem *msg, void **user_data)
 
 		if (known_questions != questions)
 		{	// This is in addition to the normal dialog.
+			LLSD payload;
+			payload["task_id"] = taskid;
+			payload["item_id"] = itemid;
+			payload["object_name"] = object_name;
+			
 			args["DOWNLOADURL"] = LLTrans::getString("ViewerDownloadURL");
-			LLNotificationsUtil::add("UnknownScriptQuestion",args);
+			LLNotificationsUtil::add("UnknownScriptQuestion",args,payload);
 		}
 		
 		if (known_questions)
-- 
GitLab