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/30 00:42:22 UTC
[whimsy] branch master updated: bug fixes
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 5c18f07 bug fixes
5c18f07 is described below
commit 5c18f07c2b48f6bc16f30f46d3316bf51966e108
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sat Jul 29 20:42:10 2017 -0400
bug fixes
---
www/roster/views/ppmc/add.js.rb | 10 +++++-----
www/roster/views/ppmc/main.js.rb | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/www/roster/views/ppmc/add.js.rb b/www/roster/views/ppmc/add.js.rb
index 1146345..b8ca433 100644
--- a/www/roster/views/ppmc/add.js.rb
+++ b/www/roster/views/ppmc/add.js.rb
@@ -79,16 +79,16 @@ class PPMCAdd < React
end
def componentDidMount()
- jQuery('#pmcadd').on('show.bs.modal') do |event|
+ jQuery('#ppmcadd').on('show.bs.modal') do |event|
button = event.relatedTarget
- setTimeout(500) { jQuery('#pmcadd input').focus() }
+ setTimeout(500) { jQuery('#ppmcadd input').focus() }
end
end
def add(person)
@people << person
self.forceUpdate()
- jQuery('#pmcadd input').focus()
+ jQuery('#ppmcadd input').focus()
end
def post(event)
@@ -122,11 +122,11 @@ class PPMCAdd < React
else
alert "#{response.status} #{response.statusText}"
end
- jQuery('#pmcadd').modal(:hide)
+ jQuery('#ppmcadd').modal(:hide)
@disabled = false
}.catch {|error|
alert error
- jQuery('#pmcadd').modal(:hide)
+ jQuery('#ppmcadd').modal(:hide)
@disabled = false
}
end
diff --git a/www/roster/views/ppmc/main.js.rb b/www/roster/views/ppmc/main.js.rb
index 4220750..9ede51b 100644
--- a/www/roster/views/ppmc/main.js.rb
+++ b/www/roster/views/ppmc/main.js.rb
@@ -214,7 +214,7 @@ class PPMC < React
# hidden forms
if @@auth.ppmc or @@auth.ipmc
_Confirm action: :ppmc, project: @ppmc.id, update: self.update
- _PPMCAdd ppmc: @@ppmc, update: self.update, auth: @@auth
+ _PPMCAdd ppmc: @ppmc, update: self.update, auth: @@auth
end
end
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].