whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: Allow posting/editing of Security and Data Privacy reports
Date Tue, 14 Aug 2018 18:39:07 GMT
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 <rubys@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]/


Mime
View raw message