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 1c6cd1c7 Simplify 1c6cd1c7 is described below commit 1c6cd1c772f1180db8398a9c24e925823078cfba Author: Sebb <s...@apache.org> AuthorDate: Thu Feb 8 17:18:58 2024 +0000 Simplify --- www/members/proxy.cgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/members/proxy.cgi b/www/members/proxy.cgi index 25020700..3a351914 100755 --- a/www/members/proxy.cgi +++ b/www/members/proxy.cgi @@ -87,7 +87,7 @@ def emit_form(cur_mtg_dir, meeting, volunteers, disabled) return end begin - secretary_id = ASF::Committee.officers.select{|x|x.name == 'secretary'}.first.chairs.map{|x|x[:id]}.first + secretary_id = ASF::Committee.officer('secretary').id rescue StandardError secretary_id = '' end @@ -185,6 +185,8 @@ def emit_form(cur_mtg_dir, meeting, volunteers, disabled) $('*[name="proxy"]').change(function() { $('.btn').prop('disabled', false); }); + + $('.combobox').on } end