You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2016/09/20 23:10:29 UTC
[whimsy] branch master updated: avoid use of state
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 3324397 avoid use of state
3324397 is described below
commit 3324397f3e7bb9fd7146c035dcd865387be90a0f
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Sep 20 19:10:08 2016 -0400
avoid use of state
---
www/secmail/views/parts.js.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/secmail/views/parts.js.rb b/www/secmail/views/parts.js.rb
index 9dcd6b9..6f8905c 100644
--- a/www/secmail/views/parts.js.rb
+++ b/www/secmail/views/parts.js.rb
@@ -302,7 +302,7 @@ class Parts < React
HTTP.post('../../actions/delete-attachment', data).then {|response|
@attachments = response.attachments
if event.type == 'message'
- signature = CheckSignature.find(@selected, @attachments)
+ signature = CheckSignature.find(@selected, response.attachments)
@selected = signature
self.delete_attachment(event) if signature
elsif response.attachments and not response.attachments.empty?
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].