whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: eliminate unnecessary message
Date Sat, 26 May 2018 15:53:42 GMT
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 <rubys@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.

Mime
View raw message