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 08d7b35  remove more react-isms
08d7b35 is described below

commit 08d7b35e819558e23cc705c11a3e1a6840905b54
Author: Sam Ruby <[email protected]>
AuthorDate: Thu Oct 5 20:23:15 2017 -0400

    remove more react-isms
---
 www/board/agenda/views/buttons/post.js.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/board/agenda/views/buttons/post.js.rb 
b/www/board/agenda/views/buttons/post.js.rb
index d5cef1d..5a49386 100644
--- a/www/board/agenda/views/buttons/post.js.rb
+++ b/www/board/agenda/views/buttons/post.js.rb
@@ -74,7 +74,7 @@ class Post < Vue
   end
 
   # match form title, input label, and commit message with button text
-  def created(newprops)
+  def created()
     case @@button.text
     when 'post report'
       @header = 'Post Report'
@@ -97,7 +97,7 @@ class Post < Vue
       @message = "Edit #{@@item.title} Resolution"
     end
 
-    if not @edited or newprops.item.attach != self.props.item.attach
+    if not @edited
       text = @@item.text || '' 
       if @@item.title == 'President'
         text.sub! /\s*Additionally, please see Attachments \d through \d\./, ''

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

Reply via email to