Commit a1152e19 authored by dreis's avatar dreis

Fix Firefox problems when it wants to render issuable component

parent 1132084d
...@@ -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