},
{
link = "#"; // "compose"; // target = "_blank";
+ isSafe = NO;
onclick = "clickedCompose(this);return false;";
cssClass = "tbicon_compose"; label = "Write";
},
),
( // second group
- { link = "#";
+ { link = "#"; isSafe = NO;
onclick="openMessageWindowsForSelection(this, 'reply'); return false;";
cssClass = "tbicon_reply"; label = "Reply"; },
- { link = "#";
+ { link = "#"; isSafe = NO;
onclick="openMessageWindowsForSelection(this, 'replyall'); return false;";
cssClass = "tbicon_replyall"; label = "Reply All"; },
- { link = "#";
+ { link = "#"; isSafe = NO;
onclick="openMessageWindowsForSelection(this, 'forward'); return false;";
cssClass = "tbicon_forward"; label = "Forward"; },
),
( // third group
- { link = "expunge";
+ { link = "expunge"; isSafe = NO;
+ enabled = clientObject.isDeleteAndExpungeAllowed;
cssClass = "tbicon_delete"; label = "Expunge"; },
/* TODO: enable when implemented
// TODO: enable when delete works (#1212)
- { link = "#";
+ { link = "#"; isSafe = NO;
cssClass = "tbicon_delete"; label = "Delete"; },
// TODO: enable when we know how to mark junk (#971)
- { link = "#";
+ { link = "#"; isSafe = NO;
cssClass = "tbicon_junk"; label = "Junk"; },
*/
),
( // fourth group (folders)
{ link = "#"; onclick="return ctxFolderAdd(this)";
+ isSafe = NO;
cssClass = "tbicon_folderadd"; label = "Create"; },
{ link = "#"; onclick="return ctxFolderDelete(this)";
+ isSafe = NO;
cssClass = "tbicon_folderdel"; label = "Delete"; },
),
( /* fourth group */