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: Yet more URI decoding needed
Date Tue, 23 Oct 2018 22:10:32 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 4196724  Yet more URI decoding needed
4196724 is described below

commit 419672420abb9c29191d8bf83935163edbd32cb3
Author: Sebb <sebb@apache.org>
AuthorDate: Tue Oct 23 23:10:18 2018 +0100

    Yet more URI decoding needed
---
 www/secretary/workbench/views/forms/icla2.js.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/secretary/workbench/views/forms/icla2.js.rb b/www/secretary/workbench/views/forms/icla2.js.rb
index 73a37da..28daf18 100644
--- a/www/secretary/workbench/views/forms/icla2.js.rb
+++ b/www/secretary/workbench/views/forms/icla2.js.rb
@@ -154,7 +154,7 @@ class ICLA2 < Vue
     # wire up form
     jQuery('form')[0].addEventListener('submit', self.file)
     jQuery('input[name=message]').val(window.parent.location.pathname)
-    jQuery('input[name=selected]').val(@@selected)
+    jQuery('input[name=selected]').val(decodeURI(@@selected))
 
     # Safari autocomplete workaround: trigger change on leaving field
     # https://github.com/facebook/react/issues/2125


Mime
View raw message