Commit 2d24574706564b16d27051b5c034f7ca0b4ac14b:
don't show doctype menu for signatures
Branch: refs/heads/secmail
Author: Sam Ruby <[email protected]>
Committer: Sam Ruby <[email protected]>
Pusher: rubys <[email protected]>
------------------------------------------------------------
www/secmail/views/parts.js.rb | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------
diff --git a/www/secmail/views/parts.js.rb b/www/secmail/views/parts.js.rb
index 416a507..0207ab5 100644
--- a/www/secmail/views/parts.js.rb
+++ b/www/secmail/views/parts.js.rb
@@ -62,7 +62,7 @@ def render
_li "\u2716 delete", onMouseDown: self.delete_attachment
end
- if @selected and not @menu
+ if @selected and not @menu and @selected !~ /\.(asc|sig)$/
_CheckSignature selected: @selected, attachments: @attachments