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 16:58:03 UTC

[whimsy] 01/01: Change icla form: default both real name and public name to email name default file name to real name not public name

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

commit 1bb8eab10b3e991402570c3a4cd4707f2b48190c
Author: Craig L Russell <cr...@oracle.com>
AuthorDate: Wed Sep 14 09:56:19 2016 -0700

    Change icla form:
      default both real name and public name to email name
      default file name to real name not public name
---
 www/secmail/views/forms/icla.js.rb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/www/secmail/views/forms/icla.js.rb b/www/secmail/views/forms/icla.js.rb
index 26bfe18..f1c4af0 100644
--- a/www/secmail/views/forms/icla.js.rb
+++ b/www/secmail/views/forms/icla.js.rb
@@ -89,6 +89,7 @@ class ICLA < React
     end
 
     @realname = name
+    @pubname = name
     @email = @@headers.from
     self.componentDidUpdate()
 
@@ -123,9 +124,9 @@ class ICLA < React
     jQuery('input[name=selected]').val(@@selected)
   end
 
-  # generate file name from the public name
+  # generate file name from the real name
   def genfilename()
-    @filename ||= asciize(@pubname.strip()).downcase().gsub(/\W/, '-')
+    @filename ||= asciize(@realname.strip()).downcase().gsub(/\W/, '-')
   end
 
   # handle ICLA form submission

-- 
To stop receiving notification emails like this one, please contact
"commits@whimsical.apache.org" <co...@whimsical.apache.org>.