UsersSelect is part of filter so I rather keep js executed in partial
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
304386aa02
commit
a9095280c7
|
@ -107,13 +107,6 @@ class Dispatcher
|
|||
new NamespaceSelect()
|
||||
when 'dashboard'
|
||||
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'
|
||||
new Profile()
|
||||
when 'projects'
|
||||
|
|
|
@ -64,6 +64,8 @@
|
|||
= button_tag "Update issues", class: "btn update_selected_issues btn-save"
|
||||
|
||||
:coffeescript
|
||||
new UsersSelect()
|
||||
|
||||
$('form.filter-form').on 'submit', (event) ->
|
||||
event.preventDefault()
|
||||
Turbolinks.visit @.action + '&' + $(@).serialize()
|
||||
|
|
Loading…
Reference in New Issue