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/27 14:10:08 UTC
[whimsy] branch master updated: Allow Eclipse Ruby editor to work
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 <se...@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