Merge pull request #620 from okriuchykhin/ok_SCI_452

Disable turbolinks on search links to fix JS errors [SCI-452]
This commit is contained in:
okriuchykhin 2017-05-12 17:02:29 +02:00 committed by GitHub
commit 9f9691de59

View file

@ -11,10 +11,11 @@ module SearchHelper
if search_team != current_team if search_team != current_team
link_to text, link_to text,
path, path,
data: { confirm: t('users.settings.changed_team_in_search', data: { no_turbolink: true,
confirm: t('users.settings.changed_team_in_search',
team: search_team.name) } team: search_team.name) }
else else
link_to text, path link_to text, path, data: { no_turbolink: true }
end end
end end