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 824cb63  fixes to the 'missing' page
824cb63 is described below

commit 824cb630ce171b19e81b893bd3d3816ebd6b3497
Author: Sam Ruby <[email protected]>
AuthorDate: Tue Oct 3 08:32:48 2017 -0400

    fixes to the 'missing' page
    
    * use addEventListener so as not to be overwritten by bootstrap
    * don't bother showing missing reports that have no owner (minutes)
---
 www/board/agenda/views/buttons/reminders.js.rb | 2 +-
 www/board/agenda/views/pages/missing.js.rb     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/board/agenda/views/buttons/reminders.js.rb 
b/www/board/agenda/views/buttons/reminders.js.rb
index 7298370..558b30c 100644
--- a/www/board/agenda/views/buttons/reminders.js.rb
+++ b/www/board/agenda/views/buttons/reminders.js.rb
@@ -39,7 +39,7 @@ class InitialReminder < Vue
   def mounted()
     Array(document.querySelectorAll('.btn-primary')).each do |button|
       if button.getAttribute('data-target') == '#reminder-form'
-        button.onclick = self.loadText
+        button.addEventListener :click, self.loadText
       end
     end
   end
diff --git a/www/board/agenda/views/pages/missing.js.rb 
b/www/board/agenda/views/pages/missing.js.rb
index 1d04af2..94c5682 100644
--- a/www/board/agenda/views/pages/missing.js.rb
+++ b/www/board/agenda/views/pages/missing.js.rb
@@ -18,7 +18,7 @@ class Missing < Vue
     first = true
 
     Agenda.index.each do |item|
-      if item.missing
+      if item.missing and item.owner
         _h3 class: item.color do
           if item.attach =~ /^[A-Z]+/
             _input type: 'checkbox', name: 'selected', value: item.title,

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to