Fix other places when saving scripts or notecards in prim inventories where messages should be transient without an OK button

cpu-performance
Justin Clark-Casey (justincc) 2013-06-18 21:21:59 +01:00
parent a1e32b8437
commit 0767523834
1 changed files with 5 additions and 5 deletions

View File

@ -326,7 +326,7 @@ namespace OpenSim.Region.Framework.Scenes
// Update item with new asset
item.AssetID = asset.FullID;
if (group.UpdateInventoryItem(item))
remoteClient.SendAgentAlertMessage("Script saved", false);
remoteClient.SendAlertMessage("Script saved");
part.SendPropertiesToClient(remoteClient);
@ -342,7 +342,7 @@ namespace OpenSim.Region.Framework.Scenes
}
else
{
remoteClient.SendAgentAlertMessage("Script saved", false);
remoteClient.SendAlertMessage("Script saved");
}
// Tell anyone managing scripts that a script has been reloaded/changed
@ -1616,11 +1616,11 @@ namespace OpenSim.Region.Framework.Scenes
remoteClient, part, transactionID, currentItem);
if ((InventoryType)itemInfo.InvType == InventoryType.Notecard)
remoteClient.SendAgentAlertMessage("Notecard saved", false);
remoteClient.SendAlertMessage("Notecard saved");
else if ((InventoryType)itemInfo.InvType == InventoryType.LSL)
remoteClient.SendAgentAlertMessage("Script saved", false);
remoteClient.SendAlertMessage("Script saved");
else
remoteClient.SendAgentAlertMessage("Item saved", false);
remoteClient.SendAlertMessage("Item saved");
}
// Base ALWAYS has move