Skip to content
Snippets Groups Projects
Unverified Commit a9095280 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

UsersSelect is part of filter so I rather keep js executed in partial

parent 304386aa
Branches
Tags
1 merge request!890Update permissions for issue tracker management
Pipeline #
Loading
@@ -107,13 +107,6 @@ class Dispatcher
Loading
@@ -107,13 +107,6 @@ class Dispatcher
new NamespaceSelect() new NamespaceSelect()
when 'dashboard' when 'dashboard'
shortcut_handler = new ShortcutsDashboardNavigation() shortcut_handler = new ShortcutsDashboardNavigation()
switch path[1]
when 'issues', 'merge_requests'
new UsersSelect()
when 'groups'
switch path[1]
when 'issues', 'merge_requests'
new UsersSelect()
when 'profiles' when 'profiles'
new Profile() new Profile()
when 'projects' when 'projects'
Loading
Loading
Loading
@@ -64,6 +64,8 @@
Loading
@@ -64,6 +64,8 @@
= button_tag "Update issues", class: "btn update_selected_issues btn-save" = button_tag "Update issues", class: "btn update_selected_issues btn-save"
   
:coffeescript :coffeescript
new UsersSelect()
$('form.filter-form').on 'submit', (event) -> $('form.filter-form').on 'submit', (event) ->
event.preventDefault() event.preventDefault()
Turbolinks.visit @.action + '&' + $(@).serialize() Turbolinks.visit @.action + '&' + $(@).serialize()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment