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 2018/05/26 15:53:42 UTC

[whimsy] branch master updated: eliminate unnecessary message

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


The following commit(s) were added to refs/heads/master by this push:
     new 7df3252  eliminate unnecessary message
7df3252 is described below

commit 7df325235396493643590a9b68008825314d2fd5
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sat May 26 11:50:48 2018 -0400

    eliminate unnecessary message
---
 www/board/agenda/views/buttons/summary.js.rb | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/www/board/agenda/views/buttons/summary.js.rb b/www/board/agenda/views/buttons/summary.js.rb
index 8874860..3fe6fe8 100644
--- a/www/board/agenda/views/buttons/summary.js.rb
+++ b/www/board/agenda/views/buttons/summary.js.rb
@@ -40,14 +40,8 @@ class Summary < Vue
   end
 
   def send(event)
-    data = {
-      agenda: Agenda.file,
-      message: "Draft minutes for #{Agenda.title}",
-      text: @summary
-    }
-
     @disabled = true
-    post 'summary', data do |response|
+    post 'summary', agenda: Agenda.file, text: @summary do |response|
       Minutes.load response.minutes
       @disabled = false
       jQuery('#summary-form').modal(:hide)

-- 
To stop receiving notification emails like this one, please contact
rubys@apache.org.