Added TeamMembers.js file
This commit is contained in:
parent
01a8f3886e
commit
56b42f58e7
2 changed files with 8 additions and 0 deletions
|
@ -30,6 +30,8 @@ class Dispatcher
|
|||
new Project()
|
||||
when 'walls:show'
|
||||
new Wall(project_id)
|
||||
when 'teams:members:index'
|
||||
new TeamMembers()
|
||||
|
||||
switch path.first()
|
||||
when 'admin' then new Admin()
|
||||
|
|
6
app/assets/javascripts/team_members.js.coffee
Normal file
6
app/assets/javascripts/team_members.js.coffee
Normal file
|
@ -0,0 +1,6 @@
|
|||
class TeamMembers
|
||||
constructor: ->
|
||||
$('.team-members .project-access-select').on "change", ->
|
||||
$(this.form).submit()
|
||||
|
||||
@TeamMembers = TeamMembers
|
Loading…
Reference in a new issue