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/09/08 19:26:43 UTC

[whimsy] branch master updated: change to mod action

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 dc2f726  change to mod action
dc2f726 is described below

commit dc2f7267b6a53ccd36fbc5b5c44e78cc7a274a27
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Fri Sep 8 15:26:33 2017 -0400

    change to mod action
---
 www/roster/views/mixins/mod.js.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/roster/views/mixins/mod.js.rb b/www/roster/views/mixins/mod.js.rb
index 9a2992f..61bed53 100644
--- a/www/roster/views/mixins/mod.js.rb
+++ b/www/roster/views/mixins/mod.js.rb
@@ -43,7 +43,7 @@ class ProjectMod < Vue::Mixin
 
     @disabled = true
     Polyfill.require(%w(Promise fetch)) do
-      fetch($options.add_action, args).then {|response|
+      fetch($options.mod_action, args).then {|response|
         content_type = response.headers.get('content-type') || ''
         if response.status == 200 and content_type.include? 'json'
           response.json().then do |json|

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