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 2019/11/29 21:38:11 UTC

[whimsy] branch master updated: Make Eclipse happy

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 1d7c952  Make Eclipse happy
1d7c952 is described below

commit 1d7c9528d2d75b518a19fe264ec836af684275bf
Author: Sebb <se...@apache.org>
AuthorDate: Fri Nov 29 21:38:03 2019 +0000

    Make Eclipse happy
---
 www/secretary/workbench/views/forms/grant.js.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/secretary/workbench/views/forms/grant.js.rb b/www/secretary/workbench/views/forms/grant.js.rb
index cc0a6ea..e1a35dd 100644
--- a/www/secretary/workbench/views/forms/grant.js.rb
+++ b/www/secretary/workbench/views/forms/grant.js.rb
@@ -8,7 +8,7 @@ class Grant < Vue
     _h4 'Grant'
 
     _div.buttons do
-      _button 'clear form', disabled: @filed, onClick: -> {@name = @email = ''}
+      _button 'clear form', disabled: @filed, onClick: lambda {@name = @email = ''}
     end
 
     _form method: 'post', action: '../../tasklist/grant', target: 'content' do