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 2017/07/13 23:21:15 UTC

[whimsy] 02/02: wire launching email client to send congrats to a new button

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git

commit 3e5639264f69df53cb043d030cfa6b7e81fc8325
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Thu Jul 13 19:20:23 2017 -0400

    wire launching email client to send congrats to a new button
---
 www/board/agenda/views/pages/adjournment.js.rb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/www/board/agenda/views/pages/adjournment.js.rb b/www/board/agenda/views/pages/adjournment.js.rb
index 522c8ca..7d33405 100644
--- a/www/board/agenda/views/pages/adjournment.js.rb
+++ b/www/board/agenda/views/pages/adjournment.js.rb
@@ -200,6 +200,11 @@ class TodoActions < React
 
     _button.checklist.btn.btn_default 'Submit', disabled: @disabled,
       onClick: self.submit
+
+    if @@action == 'add'
+      _button.checklist.btn.btn_default 'Email Congrats', disabled: @disabled,
+        onClick: self.launch_email_client
+    end
   end
 
   def submit()

-- 
To stop receiving notification emails like this one, please contact
"commits@whimsical.apache.org" <co...@whimsical.apache.org>.