whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Make Eclipse happy
Date Fri, 29 Nov 2019 21:38:11 GMT
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 <sebb@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


Mime
View raw message