add: var loadedFolder = GetLoadedMsgFolder(); var server = loadedFolder.server; if (!(server.canUndoDeleteOnServer)) return false;  
context: function SetupUndoRedoCommand(command){    var canUndoOrRedo = false;    var txnType = 0;    if (command == "cmd_undo")    {        canUndoOrRedo = messenger.CanUndo();        txnType = messenger.GetUndoTransactionType();    }    else    {        canUndoOrRedo = messenger.CanRedo();        txnType = messenger.GetRedoTransactionType();    }    if (canUndoOrRedo)    {        switch (txnType)        {        default:        case 0:            goSetMenuValue(command, 'valueDefault');            break;        case 1:            goSetMenuValue(command, 'valueDeleteMsg');            break;        case 2:            goSetMenuValue(command, 'valueMoveMsg');            break;        case 3:            goSetMenuValue(command, 'valueCopyMsg');            break;        }    }    else    {        goSetMenuValue(command, 'valueDefault');    }    return canUndoOrRedo;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/65d20cc280a152b552ffab6306bea0b601bfef7f/mailWindowOverlay.js/clean/mailnews/base/resources/content/mailWindowOverlay.js