r=sspitzer a=mscott. Added notification for delete/cancel failures

This commit is contained in:
naving%netscape.com 2000-09-21 00:14:24 +00:00
parent 0155e2b2d9
commit 391bc9c4ab

View File

@ -141,10 +141,28 @@ var folderListener = {
}
} else if (event.GetUnicode() == "DeleteOrMoveMsgCompleted") {
HandleDeleteOrMoveMsgCompleted(folder);
}
}
else if (event.GetUnicode() == "DeleteOrMoveMsgFailed") {
HandleDeleteOrMoveMsgFailed(folder);
}
}
}
function HandleDeleteOrMoveMsgFailed(folder)
{
if(IsCurrentLoadedFolder(folder))
{
if(gNextMessageAfterDelete)
{
gNextMessageAfterDelete = null;
}
}
}
function HandleDeleteOrMoveMsgCompleted(folder)
{