You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cl...@apache.org on 2016/09/14 21:28:55 UTC
[whimsy] branch secmail-icla updated: secmail add (clear form)
button to ICLA form
This is an automated email from the ASF dual-hosted git repository.
clr pushed a commit to branch secmail-icla
in repository https://git-dual.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/secmail-icla by this push:
new 5afd0fa secmail add (clear form) button to ICLA form
5afd0fa is described below
commit 5afd0fa8220341edcbf1e46aaa900126efdfbd32
Author: Craig L Russell <cr...@oracle.com>
AuthorDate: Wed Sep 14 14:28:07 2016 -0700
secmail
add (clear form) button to ICLA form
---
www/secmail/views/forms/icla.js.rb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/www/secmail/views/forms/icla.js.rb b/www/secmail/views/forms/icla.js.rb
index f1c4af0..22d1fd9 100644
--- a/www/secmail/views/forms/icla.js.rb
+++ b/www/secmail/views/forms/icla.js.rb
@@ -8,6 +8,8 @@ class ICLA < React
def render
_h4 'ICLA'
+ _button 'clear form', onClick: -> {@pubname = @realname = @email = ''}
+
_form method: 'post', action: '../../tasklist/icla', target: 'content' do
_input type: 'hidden', name: 'message'
_input type: 'hidden', name: 'selected'
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].