You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2017/12/16 19:14:17 UTC

[whimsy] branch master updated: Oops, drop debug output

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

sebb 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 2ae7de6  Oops, drop debug output
2ae7de6 is described below

commit 2ae7de61af320e234011586b2e69536b724d2ca0
Author: Sebb <se...@apache.org>
AuthorDate: Sat Dec 16 19:14:07 2017 +0000

    Oops, drop debug output
---
 www/roster/views/mixins/add.js.rb | 2 +-
 www/roster/views/mixins/mod.js.rb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/roster/views/mixins/add.js.rb b/www/roster/views/mixins/add.js.rb
index 3017be6..4c943e0 100644
--- a/www/roster/views/mixins/add.js.rb
+++ b/www/roster/views/mixins/add.js.rb
@@ -48,7 +48,7 @@ class ProjectAdd < Vue::Mixin
       fetch($options.add_action, args).then {|response|
 
         # raises alert if the response is not successful JSON
-        Utils.handle_json(response, lambda { |json| Vue.emit :update, json; alert 'add' } )
+        Utils.handle_json(response, lambda { |json| Vue.emit :update, json } )
 
         jQuery("##{$options.add_tag}").modal(:hide)
         @disabled = false
diff --git a/www/roster/views/mixins/mod.js.rb b/www/roster/views/mixins/mod.js.rb
index 15faf6f..c2a53e0 100644
--- a/www/roster/views/mixins/mod.js.rb
+++ b/www/roster/views/mixins/mod.js.rb
@@ -46,7 +46,7 @@ class ProjectMod < Vue::Mixin
       fetch($options.mod_action, args).then {|response|
 
         # raises alert if the response is not successful JSON
-        Utils.handle_json(response, lambda { |json| Vue.emit :update, json ; alert 'mod' } )
+        Utils.handle_json(response, lambda { |json| Vue.emit :update, json } )
 
         jQuery("##{$options.mod_tag}").modal(:hide)
         @disabled = false

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