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
commit 7e5d6fb57a0f8abdae28bf37ecef408c563b94ad Author: Sebb <[email protected]> AuthorDate: Sun Mar 8 23:23:17 2026 +0000 Pass @email to json, and fix reference --- www/secretary/workbench/views/actions/memapp.json.rb | 2 +- www/secretary/workbench/views/forms/memapp.js.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/www/secretary/workbench/views/actions/memapp.json.rb b/www/secretary/workbench/views/actions/memapp.json.rb index e558ebd1..d2e10e57 100644 --- a/www/secretary/workbench/views/actions/memapp.json.rb +++ b/www/secretary/workbench/views/actions/memapp.json.rb @@ -187,7 +187,7 @@ end ######################################################################## # send confirmation email -task "email #@email" do +task "email #{@email}" do # build mail from template mail = message.reply( subject: @document, diff --git a/www/secretary/workbench/views/forms/memapp.js.rb b/www/secretary/workbench/views/forms/memapp.js.rb index 1b9348d8..271cb94b 100644 --- a/www/secretary/workbench/views/forms/memapp.js.rb +++ b/www/secretary/workbench/views/forms/memapp.js.rb @@ -11,6 +11,7 @@ class MemApp < Vue _form method: 'post', action: '../../tasklist/memapp', target: 'content' do _input type: 'hidden', name: 'message' _input type: 'hidden', name: 'selected' + _input type: 'hidden', name: 'email', value: @email # needed for json _input type: 'hidden', name: 'signature', value: @@signature _table.form do
