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: update to support React.JS v15
Date Thu, 01 Jun 2017 14:05:43 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  999ea26   update to support React.JS v15
999ea26 is described below

commit 999ea26ed7cf74c3a7f6cb2264c678fc54ca3abc
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Thu Jun 1 10:03:10 2017 -0400

    update to support React.JS v15
    
    Fixes https://issues.apache.org/jira/browse/WHIMSY-95
    
    See also:
    https://github.com/rubys/ruby2js/commit/1cc10baf30f1469cc37c9ec68a0a2c21b858f6eb
---
 www/board/agenda/Gemfile                        | 2 +-
 www/board/agenda/views/pages/action-items.js.rb | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/www/board/agenda/Gemfile b/www/board/agenda/Gemfile
index c86214a..7184716 100644
--- a/www/board/agenda/Gemfile
+++ b/www/board/agenda/Gemfile
@@ -13,7 +13,7 @@ end
 
 gem 'rake'
 gem 'wunderbar', '~> 1.1.1'
-gem 'ruby2js', '>= 2.0.13'
+gem 'ruby2js', '>= 2.0.17'
 gem 'sinatra', '~> 2.0'
 gem 'nokogumbo'
 gem 'execjs', ('<2.5.1' if RUBY_VERSION =~ /^1/)
diff --git a/www/board/agenda/views/pages/action-items.js.rb b/www/board/agenda/views/pages/action-items.js.rb
index 1ab41dd..10946b9 100644
--- a/www/board/agenda/views/pages/action-items.js.rb
+++ b/www/board/agenda/views/pages/action-items.js.rb
@@ -110,7 +110,7 @@ class ActionItems < React
 
       if not first
         # Update action item (hidden form)
-        _ModalDialog ref: 'updateStatusForm', color: 'commented' do
+        _ModalDialog id: 'updateStatusForm', color: 'commented' do
           _h4 'Update Action Item'
 
           _p do
@@ -176,7 +176,7 @@ class ActionItems < React
 
   # autofocus on action status in update action form
   def componentDidMount()
-    jQuery(~updateStatusForm).on 'shown.bs.modal' do
+    jQuery('#updateStatusForm').on 'shown.bs.modal' do
       ~statusText.focus()
     end
   end
@@ -199,7 +199,7 @@ class ActionItems < React
     action.baseline = action.status
 
     # show dialog
-    jQuery(~updateStatusForm).modal(:show)
+    jQuery('#updateStatusForm').modal(:show)
 
     # update state
     self.setState(action)

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

Mime
View raw message