You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2018/08/14 18:39:07 UTC

[whimsy] branch master updated: Allow posting/editing of Security and Data Privacy reports

This is an automated email from the ASF dual-hosted git repository.

rubys 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 246deac  Allow posting/editing of Security and Data Privacy reports
246deac is described below

commit 246deacc81ddc821096c78ca73a4f4cd0e98667c
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Aug 14 12:38:29 2018 -0600

    Allow posting/editing of Security and Data Privacy reports
---
 www/board/agenda/views/models/agenda.js.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/board/agenda/views/models/agenda.js.rb b/www/board/agenda/views/models/agenda.js.rb
index 8dfaa06..4f01956 100644
--- a/www/board/agenda/views/models/agenda.js.rb
+++ b/www/board/agenda/views/models/agenda.js.rb
@@ -498,7 +498,7 @@ class Agenda
 
     list << {button: Attend} if @title == 'Roll Call'
 
-    if @attach =~ /^(\d|7?[A-Z]+|4[A-Z]|8[.A-Z])$/
+    if @attach =~ /^(\d+|7?[A-Z]+|4[A-Z]|8[.A-Z])$/
       if User.role == :secretary or not Minutes.complete
         unless Minutes.draft_posted
           if @attach =~ /^8[.A-Z]/