Commit 15bbb4ee authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #9244 from dreis2211/firefox_issuable_filter_patch

Fix Firefox problems when it wants to render issuable component
parents 5af7d789 a1152e19
...@@ -112,6 +112,13 @@ class Dispatcher ...@@ -112,6 +112,13 @@ 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'
......
...@@ -51,8 +51,6 @@ ...@@ -51,8 +51,6 @@
= 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()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment