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 2017/07/28 16:35:48 UTC

[whimsy] branch master updated: adjust to new style

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 f274954  adjust to new style
     new 6d5c5d1  Merge branch 'master' of github.com:apache/whimsy
f274954 is described below

commit f274954b77b383abd61b100e60bf95f0253e7ab7
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Fri Jul 28 12:35:22 2017 -0400

    adjust to new style
---
 www/roster/views/person.js.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/roster/views/person.js.rb b/www/roster/views/person.js.rb
index 4eab4c6..d63cf08 100644
--- a/www/roster/views/person.js.rb
+++ b/www/roster/views/person.js.rb
@@ -221,7 +221,7 @@ class Person < React
 
   # after update, register event listeners on forms
   def componentDidUpdate()
-    Array(document.querySelectorAll('tr[data-edit]')).each do |tr|
+    Array(document.querySelectorAll('div[data-edit]')).each do |tr|
       form = tr.querySelector('form')
       if form
         form.setAttribute 'data-action', tr.getAttribute('data-edit')

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].