whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [5/5] Commit 2d24574: don't show doctype menu for signatures
Date Wed, 06 Jan 2016 20:17:44 GMT
Commit 2d24574706564b16d27051b5c034f7ca0b4ac14b:
    don't show doctype menu for signatures


Branch: refs/heads/secmail
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@apache.org>

------------------------------------------------------------
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
 

Mime
View raw message