Remove redundant and annoyingly modal message box in upload processing.

avinationmerge
Melanie 2012-10-18 13:20:50 +02:00
parent 0ca9666932
commit 2e8e8d576e
1 changed files with 11 additions and 11 deletions

View File

@ -1116,17 +1116,17 @@ namespace OpenSim.Region.ClientStack.Linden
else else
{ {
AddNewInventoryItem(m_HostCapsObj.AgentID, item, (uint)cost); AddNewInventoryItem(m_HostCapsObj.AgentID, item, (uint)cost);
if (client != null) // if (client != null)
{ // {
// let users see anything.. i don't so far // // let users see anything.. i don't so far
string str; // string str;
if (cost > 0) // if (cost > 0)
// dont remember where is money unit name to put here // // dont remember where is money unit name to put here
str = "Upload complete. charged " + cost.ToString() + "$"; // str = "Upload complete. charged " + cost.ToString() + "$";
else // else
str = "Upload complete"; // str = "Upload complete";
client.SendAgentAlertMessage(str, true); // client.SendAgentAlertMessage(str, true);
} // }
} }
} }