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: Allow Eclipse Ruby editor to work
Date Wed, 27 Nov 2019 14:10:08 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 020988a  Allow Eclipse Ruby editor to work
020988a is described below

commit 020988a9641560cd22659708183354374ba57390
Author: Sebb <sebb@apache.org>
AuthorDate: Wed Nov 27 14:09:18 2019 +0000

    Allow Eclipse Ruby editor to work
---
 www/secretary/workbench/views/forms/icla.js.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/www/secretary/workbench/views/forms/icla.js.rb b/www/secretary/workbench/views/forms/icla.js.rb
index fa4e2ac..1aa4b8a 100644
--- a/www/secretary/workbench/views/forms/icla.js.rb
+++ b/www/secretary/workbench/views/forms/icla.js.rb
@@ -10,9 +10,9 @@ class ICLA < Vue
 
     _div.buttons do
       _button 'clear form', disabled: @filed,
-        onClick: -> {@pubname = @realname = @email = @filename = ''}
+        onClick: lambda {@pubname = @realname = @email = @filename = ''}
       _button 'revert to mail data', disabled: @filed,
-        onClick: -> {process_response({})}
+        onClick: lambda {process_response({})}
     end
 
     _form method: 'post', action: '../../tasklist/icla', target: 'content' do
@@ -33,7 +33,7 @@ class ICLA < Vue
           _th 'Public Name'
           _td do
             _input name: 'pubname', value: @pubname, required: true,
-              disabled: @filed, onFocus: -> {@pubname ||= @realname}
+              disabled: @filed, onFocus: lambda {@pubname ||= @realname}
           end
         end
 


Mime
View raw message