From 71e3b0c587266911d8256065de7da304fc69de50 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sun, 17 Nov 2024 12:50:21 -0800 Subject: [PATCH] A compose button when viewing email makes no sense https://github.com/webmin/usermin/issues/117 --- mailbox/view_mail.cgi | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/mailbox/view_mail.cgi b/mailbox/view_mail.cgi index 4935bc5a..79139960 100755 --- a/mailbox/view_mail.cgi +++ b/mailbox/view_mail.cgi @@ -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;