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