Skip to content

Commit

Permalink
A compose button when viewing email makes no sense #117
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Nov 17, 2024
1 parent 3f412f4 commit 71e3b0c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions mailbox/view_mail.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -443,17 +443,6 @@ else {
}
print $spacer;

if ($userconfig{'open_mode'}) {
# Compose button needs to pop up a window
print &ui_submit($text{'mail_compose'}, "new", undef,
"onClick='window.open(\"reply_mail.cgi?new=1\", \"compose\", \"toolbar=no,menubar=no,scrollbars=yes,width=1024,height=768\"); return false'>");
}
else {
# Compose button can just submit and redirect
print &ui_submit($text{'mail_compose'}, "new");
}
print $spacer;

print &ui_submit($text{'view_forward'}, "forward");
print $spacer;

Expand Down

0 comments on commit 71e3b0c

Please sign in to comment.